Skip to content

msys2meson

msys2meson #7

Workflow file for this run

name: msys2meson
on:
workflow_dispatch:
permissions: read-all
jobs:
msys2_meson:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
env:
PYTHONIOENCODING: "utf-8"
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-zlib mingw-w64-x86_64-doxygen
- name: Build libdwarf
run: |
mkdir builddir && cd builddir
meson setup --default-library shared -Ddwarfexample=true -Ddwarfgen=false . ..
ninja
ninja install
ninja test