Skip to content

Commit 69bca59

Browse files
committed
Build linux/macos arm64/aarch64 wheels on native runners
1 parent 9b2b027 commit 69bca59

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,18 @@ jobs:
8585
python-version: "3.x"
8686
- run: pip install cibuildwheel==3.3.0
8787
- id: set-matrix
88+
env:
89+
# skipping pypy for now
90+
CIBW_SKIP: >
91+
pp*
8892
run: |
8993
MATRIX_INCLUDE=$(
9094
{
91-
cibuildwheel --print-build-identifiers --platform linux --archs x86_64,aarch64 | grep cp | jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
92-
&& cibuildwheel --print-build-identifiers --platform macos --archs x86_64,arm64 | grep cp | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
93-
&& cibuildwheel --print-build-identifiers --platform windows --archs x86,AMD64 | grep cp | jq -nRc '{"only": inputs, "os": "windows-latest"}'
95+
cibuildwheel --print-build-identifiers --platform linux --archs x86_64 | jq -nRc '{"only": inputs, "os": "ubuntu-24.04"}' \
96+
&& cibuildwheel --print-build-identifiers --platform linux --archs aarch64 | jq -nRc '{"only": inputs, "os": "ubuntu-24.04-arm"}' \
97+
&& cibuildwheel --print-build-identifiers --platform macos --archs x86_64 | jq -nRc '{"only": inputs, "os": "macos-15-intel"}' \
98+
&& cibuildwheel --print-build-identifiers --platform macos --archs arm64 | jq -nRc '{"only": inputs, "os": "macos-15"}' \
99+
&& cibuildwheel --print-build-identifiers --platform windows --archs x86,AMD64 | jq -nRc '{"only": inputs, "os": "windows-2025"}'
94100
} | jq -sc
95101
)
96102
echo "include=$MATRIX_INCLUDE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)