88 matrix :
99 os : [ubuntu-24.04, ubuntu-24.04-arm, macos-15-intel, macos-15]
1010 shell : [bash]
11+ msystem : [ucrt64]
12+ menv : [ucrt-x86_64]
1113 include :
1214 - os : windows-2022
1315 shell : ' msys2 {0}'
16+ msystem : ucrt64
17+ menv : ucrt-x86_64
18+ - os : windows-11-arm
19+ shell : ' msys2 {0}'
20+ msystem : clangarm64
21+ menv : clang-aarch64
1422 defaults :
1523 run :
1624 shell : ${{ matrix.shell }}
1725 env :
1826 PYTEST_ADDOPTS : --verbose --hypothesis-profile=default
19- CFLAGS : -Wall -Wpedantic -Werror -std=c17 -Wconversion
27+ # CFLAGS: -Wall -Wpedantic -Werror -std=c17 -Wconversion
2028 MACOSX_DEPLOYMENT_TARGET : 10.15 # for 3.14
2129 steps :
2230 - uses : actions/checkout@v6
@@ -28,13 +36,16 @@ jobs:
2836 - uses : msys2/setup-msys2@v2.29.0
2937 with :
3038 install : >-
31- mingw-w64-ucrt-x86_64-pkg-config
32- mingw-w64-ucrt-x86_64-gcc
39+ mingw-w64-${{ matrix.menv }}-binutils
40+ mingw-w64-${{ matrix.menv }}-gcc
41+ mingw-w64-${{ matrix.menv }}-pkg-config
42+ mingw-w64-${{ matrix.menv }}-tools
3343 diffutils
3444 m4
3545 make
3646 patch
37- msystem : ucrt64
47+ autotools
48+ msystem : ${{ matrix.msystem }}
3849 path-type : inherit
3950 if : ${{ startsWith(matrix.os, 'windows') }}
4051 - name : Cache GNU GMP builds
@@ -43,19 +54,15 @@ jobs:
4354 with :
4455 path : .local
4556 key : ${{ matrix.os }}-${{ hashFiles('scripts/*') }}
46- - run : bash scripts/cibw_before_all.sh
57+ - run : sh scripts/cibw_before_all.sh
4758 if : steps.cache-gmp.outputs.cache-hit != 'true'
48- - run : python -m pip install --upgrade pip
4959 - run : |
50- # XXX: this is for M$ Windows, see msys2/setup-msys2#171
51- PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$(pwd)/.local/lib/pkgconfig
52- pip --verbose wheel . -Csetup-args=-Dbuildtype=debug
60+ export PKG_CONFIG_PATH=$(pwd)/.local/lib/pkgconfig
61+ pip --verbose wheel . -Csetup-args=-Dbuildtype=debug -Csetup-args=--vsenv
62+ # https://mesonbuild.com/meson-python/how-to-guides/shared-libraries
5363 - run : |
54- # XXX: this is too, see
55- # https://mesonbuild.com/meson-python/how-to-guides/shared-libraries
56- PATH="$PATH:$(pwd)/.local/bin"
5764 pip install delvewheel
58- delvewheel repair *.whl
65+ delvewheel repair *.whl --add-path .local/bin
5966 mv wheelhouse/*.whl .
6067 if: ${{ startsWith(matrix.os, 'windows') }}
6168 - run : |
0 commit comments