diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 031e6619a7..acb940acee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -171,3 +171,53 @@ jobs: setup-options: -Ddocumentation=disabled -Dtest=true options: --verbose meson-version: 0.56.0 + + build-msys2: + strategy: + matrix: + platform: ['MINGW32', 'MINGW64', 'UCRT64'] + defaults: + run: + shell: msys2 {0} + runs-on: windows-latest + steps: + - id: checkout + uses: actions/checkout@v4 + + - uses: msys2/setup-msys2@v2 + with: + msystem: ${{matrix.platform}} + pacboy: >- + cc:p + chromaprint:p + cmake:p + dbus:p + faad2:p + ffmpeg:p + fmt:p + flac:p + gtest:p + libao:p + libid3tag:p + libmad:p + libmpcdec:p + libnfs:p + libopenmpt:p + libsamplerate:p + libshout:p + libsndfile:p + libsoxr:p + libvorbis:p + meson:p + ninja:p + opus:p + pulseaudio:p + shine:p + twolame:p + yajl:p + + - name: Compile and Test + run: | + meson setup "${{github.workspace}}/build" -Dbzip2=disabled -Dcdio_paranoia=disabled -Ddocumentation=disabled -Dfluidsynth=disabled -Dicu=disabled -Diso9660=disabled -Dmikmod=disabled -Dmpg123=disabled -Dsidplay=disabled -Dupnp=disabled -Dwavpack=disabled -Dzzip=disabled -Dtest=true -Dwarning_level=3 + meson compile -C "${{github.workspace}}/build" --verbose + meson test -C "${{github.workspace}}/build" --verbose