Skip to content

Commit 94cdf37

Browse files
committed
fixup! fixup! move more of cibuildwheel config to pyproject.toml
1 parent e3dd8e2 commit 94cdf37

2 files changed

Lines changed: 8 additions & 22 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ skip = [
117117
# (takes about 5 minutes per wheel to build, and 5 minutes to test)
118118
test-skip = [
119119
"cp3{10,11,12,13}-*_aarch64",
120+
"cp310-win_arm64", # Skipped due to unavailability of Python binary and NumPy for Win-ARM64
120121
]
121122
test-groups = "dev"
122123
test-command = [

0 commit comments

Comments
 (0)