diff options
| author | 2026-11-05 09:45:24 +0100 | |
|---|---|---|
| committer | 2026-11-05 09:45:24 +0100 | |
| commit | 5f22030bf57d2f0c78eb26b9778fd3180cfb70f5 (patch) | |
| tree | c1cedbae5467c34f62e216ff3ac1e041b2bd57fb /.github | |
| parent | 621886ffc072699a530530fe544f828b9b2a8ef8 (diff) | |
| download | libplist-5f22030bf57d2f0c78eb26b9778fd3180cfb70f5.tar.gz libplist-5f22030bf57d2f0c78eb26b9778fd3180cfb70f5.tar.bz2 | |
[github-actions] Updated build workflow to add more msys flavors and arm64 build
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 11 insertions, 7 deletions
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 |
