summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml18
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