@@ -18,17 +18,11 @@ jobs:
1818 matrix :
1919 include :
2020 - os : ubuntu-22.04
21- arch : x86_64
2221 - os : ubuntu-22.04-arm
23- arch : aarch64
2422 - os : windows-2022
25- arch : AMD64
2623 - os : macos-14
27- arch : arm64
2824 - os : macos-15-intel
29- arch : x86_64
3025 - os : windows-11-arm
31- arch : ARM64
3226
3327 steps :
3428 - uses : actions/checkout@v6
@@ -42,24 +36,15 @@ jobs:
4236 # platforms: all
4337 # if: runner.os == 'Linux' && matrix.arch == 'aarch64'
4438
45- - name : Build just oldest and newest on PRs, all on tags
46- shell : bash
47- # - Always omit musllinux_aarch64 because it's slow and niche
48- # - On PPs, omit musllinux for speed
49- # - On PRs, run just oldest and newest Python versions (3.13 is the oldest abi3 target)
50- run : |
51- # skip cp310 if building on windows arm64
52- if [[ "${{ matrix.arch }}" == "ARM64" ]]; then
53- CIBW_SKIP="$CIBW_SKIP cp310-*"
54- fi
55- echo "CIBW_SKIP=$CIBW_SKIP" >> $GITHUB_ENV
56- echo "Setting CIBW_SKIP=$CIBW_SKIP"
57-
58- - name : " Building ${{ matrix.os }} (${{ matrix.arch }}) wheels"
39+ - name : " Building ${{ matrix.os }} wheels"
40+ if : matrix.os != 'windows-2022'
41+ uses : pypa/cibuildwheel@v3.3.1
42+
43+ - name : " Building Windows AMD64 wheels"
44+ if : matrix.os == 'windows-2022'
5945 uses : pypa/cibuildwheel@v3.3.1
6046 env :
61- CIBW_SKIP : ${{ env.CIBW_SKIP }}
62- CIBW_ARCHS : ${{ matrix.arch }}
47+ CIBW_ARCHS : native
6348
6449 - uses : actions/upload-artifact@v6
6550 with :
0 commit comments