Skip to content

Commit 7e5eab0

Browse files
finnaginpre-commit-ci[bot]bdraco
authored
Add windows arm64 support (#678)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <[email protected]>
1 parent a2c22c2 commit 7e5eab0

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/actionlint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
3+
# Workaround since actionlint does not include windows-11-arm support yet
4+
# https://github.com/rhysd/actionlint/issues/533
5+
self-hosted-runner:
6+
labels:
7+
- windows-11-arm
8+
9+
...

.github/workflows/ci-cd.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,16 @@ jobs:
137137
runner-vm-os:
138138
- ubuntu-latest
139139
- windows-latest
140+
- windows-11-arm
140141
- macos-latest
141142
tag:
142143
- ''
143144
- 'musllinux'
144145
exclude:
145146
- runner-vm-os: windows-latest
146147
tag: 'musllinux'
148+
- runner-vm-os: windows-11-arm
149+
tag: 'musllinux'
147150
- runner-vm-os: macos-latest
148151
tag: 'musllinux'
149152
- runner-vm-os: ubuntu-latest
@@ -184,8 +187,7 @@ jobs:
184187
&& '*_i686
185188
*-macosx_universal2
186189
*-musllinux_*
187-
*-win32
188-
*_arm64'
190+
*-win32'
189191
|| (matrix.tag == 'musllinux') && '*-manylinux_*'
190192
|| '*-musllinux_*'
191193
}}
@@ -215,12 +217,19 @@ jobs:
215217
- ubuntu-latest
216218
- macos-latest
217219
- windows-latest
220+
- windows-11-arm
218221
experimental: [false]
219222
exclude:
220223
- os: macos-latest
221224
no-extensions: Y
222225
- os: windows-latest
223226
no-extensions: Y
227+
- os: windows-11-arm
228+
no-extensions: Y
229+
- os: windows-11-arm
230+
pyver: 3.10 # not supported by setup-python action
231+
- os: windows-11-arm
232+
pyver: 3.9 # not supported by setup-python action
224233
include:
225234
- pyver: pypy-3.10
226235
no-extensions: Y

CHANGES/677.contrib.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Builds and tests have been added to
2+
``ci-cd.yml`` for arm64 Windows wheels -- by :user:`finnagin`.

0 commit comments

Comments
 (0)