Skip to content

Commit 4a7be4f

Browse files
committed
BLD: Enable wheels on Windows-on-ARM
1 parent 5ab47bb commit 4a7be4f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jobs:
124124
cibw_archs: "aarch64"
125125
- os: windows-latest
126126
cibw_archs: "auto64"
127+
- os: windows-11-arm
128+
cibw_archs: "auto64"
127129
- os: macos-13
128130
cibw_archs: "x86_64"
129131
- os: macos-14
@@ -144,7 +146,7 @@ jobs:
144146
CIBW_BUILD: "cp313-* cp313t-*"
145147
CIBW_ENABLE: cpython-freethreading
146148
# No free-threading wheels available for aarch64 on Pillow.
147-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
149+
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64 cp313t-win_arm64 cp313-win_arm64"
148150
CIBW_ARCHS: ${{ matrix.cibw_archs }}
149151

150152
- name: Build wheels for CPython 3.12
@@ -153,6 +155,7 @@ jobs:
153155
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
154156
env:
155157
CIBW_BUILD: "cp312-*"
158+
CIBW_TEST_SKIP: "cp312-win_arm64"
156159
CIBW_ARCHS: ${{ matrix.cibw_archs }}
157160

158161
- name: Build wheels for CPython 3.11
@@ -161,6 +164,7 @@ jobs:
161164
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
162165
env:
163166
CIBW_BUILD: "cp311-*"
167+
CIBW_TEST_SKIP: "cp311-win_arm64"
164168
CIBW_ARCHS: ${{ matrix.cibw_archs }}
165169

166170
- name: Build wheels for CPython 3.10
@@ -169,6 +173,7 @@ jobs:
169173
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
170174
env:
171175
CIBW_BUILD: "cp310-*"
176+
CIBW_TEST_SKIP: "cp310-win_arm64"
172177
CIBW_ARCHS: ${{ matrix.cibw_archs }}
173178

174179
- name: Build wheels for PyPy
@@ -177,6 +182,7 @@ jobs:
177182
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
178183
env:
179184
CIBW_BUILD: "pp310-*"
185+
CIBW_TEST_SKIP: "pp310-win_arm64"
180186
CIBW_ARCHS: ${{ matrix.cibw_archs }}
181187
CIBW_ENABLE: pypy
182188
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'

0 commit comments

Comments
 (0)