From 5f22030bf57d2f0c78eb26b9778fd3180cfb70f5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 5 Nov 2026 09:45:24 +0100 Subject: [github-actions] Updated build workflow to add more msys flavors and arm64 build --- .github/workflows/build.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54273b4..ec12c47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,7 +97,7 @@ jobs: name: libplist-latest_macOS path: libplist.tar build-windows: - runs-on: windows-latest + runs-on: ${{ matrix.runner }} defaults: run: shell: msys2 {0} @@ -105,8 +105,11 @@ jobs: fail-fast: false matrix: include: [ - { msystem: MINGW64, arch: x86_64 }, - { msystem: MINGW32, arch: i686 } + { runner: windows-latest, msystem: CLANG64, arch: x86_64, flavor: w64-clang, cc: clang }, + { runner: windows-latest, msystem: UCRT64, arch: x86_64, flavor: w64-ucrt, cc: gcc }, + { runner: windows-latest, msystem: MINGW64, arch: x86_64, flavor: w64, cc: gcc }, + { runner: windows-latest, msystem: MINGW32, arch: i686, flavor: w64, cc: gcc }, + { runner: windows-11-arm, msystem: CLANGARM64, arch: aarch64, flavor: w64-clang, cc: clang } ] steps: - uses: msys2/setup-msys2@v2 @@ -114,12 +117,13 @@ jobs: msystem: ${{ matrix.msystem }} release: false update: false + suppress-deprecation-warnings: msystem-mingw32 msystem-mingw64 install: >- base-devel git - mingw-w64-${{ matrix.arch }}-gcc - mingw-w64-${{ matrix.arch }}-pkg-config - mingw-w64-${{ matrix.arch }}-python + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-${{ matrix.cc }} + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-pkgconf + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-python make libtool autoconf @@ -135,7 +139,7 @@ jobs: with: fetch-depth: 0 - name: autogen - run: ./autogen.sh CC=gcc CXX=g++ --enable-debug + run: ./autogen.sh --enable-debug - name: make run: make - name: make check -- cgit v1.1-32-gdbae