Skip to content

Commit 616502b

Browse files
authored
Add support for building Win-ARM64 wheels (#608)
* Enable support for building Win-ARM64 wheels * CI: Add support for building Win-ARM64 wheels * CI: Add support for building WoA wheels
1 parent 02d387c commit 616502b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
runs-on: ${{ matrix.os }}
5858
strategy:
5959
matrix:
60-
os: [ubuntu-22.04, macos-13, macos-14, windows-2022]
60+
os: [ubuntu-22.04, macos-13, macos-14, windows-2022, windows-11-arm]
6161
steps:
6262
- uses: actions/checkout@v4
6363

6464
- uses: actions/setup-python@v5
6565
with:
66-
python-version: '3.10'
66+
python-version: '3.11'
6767

6868
- if: runner.os == 'Linux'
6969
uses: docker/setup-qemu-action@v3
@@ -91,13 +91,13 @@ jobs:
9191
runs-on: ${{ matrix.os }}
9292
strategy:
9393
matrix:
94-
os: [ubuntu-latest, macos-latest, windows-latest]
94+
os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm]
9595
steps:
9696
- uses: actions/checkout@v4
9797

9898
- uses: actions/setup-python@v5
9999
with:
100-
python-version: '3.10'
100+
python-version: '3.11'
101101

102102
- if: runner.os == 'Linux'
103103
uses: docker/setup-qemu-action@v3

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ build = [
8383
"cp39-macosx_x86_64",
8484
"cp39-macosx_arm64",
8585
"cp39-win_amd64",
86+
"cp39-win_arm64",
8687
# "cp39-win32",
8788
"cp39-manylinux_x86_64",
8889
"cp39-manylinux_aarch64",
@@ -94,7 +95,7 @@ before-all = "make preprocess"
9495
test-requires = "pytest"
9596
test-command = "python -bb -m pytest {project}/tests/unittest"
9697
test-extras = ["test"]
97-
test-skip = "cp39-manylinux_i686" # trustme not available
98+
test-skip = ["cp39-manylinux_i686", "cp39-win_arm64"] # trustme not available for manylinux_i686 and cryptography not available for win_arm64
9899
build-verbosity = 1
99100

100101

0 commit comments

Comments
 (0)