Skip to content

Commit e5e6bc4

Browse files
committed
ci: do not attempt to compile NumPy in CI for Windows ARM64
1 parent 13869cf commit e5e6bc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,17 @@ jobs:
205205
wheel_arch: win32
206206
vcpkg_arch: x86
207207
os: windows-2019
208+
test_extra: test
208209
- cmake_arch: x64
209210
wheel_arch: win_amd64
210211
vcpkg_arch: x64
211212
os: windows-2019
213+
test_extra: test
212214
- cmake_arch: ARM64
213215
wheel_arch: win_arm64
214216
vcpkg_arch: arm64
215217
os: windows-11-arm
218+
test_extra: test-win-arm64
216219
runs-on: ${{ matrix.os }}
217220

218221
steps:
@@ -250,7 +253,7 @@ jobs:
250253
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
251254
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
252255
CIBW_ENABLE: pypy
253-
CIBW_TEST_COMMAND: "cd /d {project} && pip install --prefer-binary \".[test]\" && python -m pytest tests"
256+
CIBW_TEST_COMMAND: "cd /d {project} && pip install --prefer-binary \".[${{ matrix.test_extra }}]\" && python -m pytest tests"
254257
# Skip tests for Python 3.10 onwards because SciPy does not have
255258
# 32-bit wheels for Windows any more
256259
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32"

0 commit comments

Comments
 (0)