Skip to content

Commit c2a9f1f

Browse files
authored
ci: add support for building windows on arm wheels (#643)
1 parent d9873da commit c2a9f1f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ jobs:
99
test:
1010
strategy:
1111
matrix:
12-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
12+
os: ["ubuntu-latest", "windows-latest", "windows-11-arm", "macos-latest"]
1313
py: ["3.14-dev", "3.13", "3.12", "3.11", "3.10", "3.9"]
14-
14+
exclude:
15+
- os: windows-11-arm
16+
py: "3.9"
17+
- os: windows-11-arm
18+
py: "3.10"
1519
runs-on: ${{ matrix.os }}
1620
name: Run test with Python ${{ matrix.py }} on ${{ matrix.os }}
1721

@@ -29,8 +33,8 @@ jobs:
2933
- name: Prepare
3034
shell: bash
3135
run: |
32-
pip install -U pip
33-
pip install -r requirements.txt pytest
36+
python -m pip install -U pip
37+
python -m pip install -r requirements.txt pytest
3438
3539
- name: Build
3640
shell: bash

.github/workflows/wheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
# macos-13 is for intel
15-
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "windows-latest", "macos-13", "macos-latest"]
15+
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "windows-latest", "windows-11-arm", "macos-13", "macos-latest"]
1616
runs-on: ${{ matrix.os }}
1717
name: Build wheels on ${{ matrix.os }}
1818

@@ -33,7 +33,7 @@ jobs:
3333
env:
3434
CIBW_TEST_REQUIRES: "pytest"
3535
CIBW_TEST_COMMAND: "pytest {package}/test"
36-
CIBW_SKIP: "pp* cp38-*"
36+
CIBW_SKIP: "pp* cp38-* cp39-win_arm64 cp310-win_arm64"
3737

3838
- name: Build sdist
3939
if: runner.os == 'Linux' && runner.arch == 'X64'

0 commit comments

Comments
 (0)