Skip to content

Commit fa9e4b6

Browse files
authored
Add Windows arm64 builds (#1167)
<!-- Thank you for your contribution! --> ## What do these changes do? This would add builds for and run tests on arm64 windows wheels <!-- Please give a short brief about these changes. --> ## Are there changes in behavior for the user? No <!-- Outline any notable behaviour for the end users. --> ## Related issue number Fixes #1166 <!-- Are there any issues opened that will be resolved by merging this change? --> <!-- Remember to prefix with 'Fixes' if it should close the issue (e.g. 'Fixes #123'). --> ## Checklist - [x] I think the code is well written (I hope so!) - [x] Unit tests for the changes exist - [x] Documentation reflects the changes
1 parent 874fc89 commit fa9e4b6

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,16 @@ jobs:
123123
os:
124124
- ubuntu
125125
- windows
126+
- windows-11-arm
126127
- macos
127128
tag:
128129
- ''
129130
- 'musllinux'
130131
exclude:
131132
- os: windows
132133
tag: 'musllinux'
134+
- os: windows-11-arm
135+
tag: 'musllinux'
133136
- os: macos
134137
tag: 'musllinux'
135138
- os: ubuntu

.github/workflows/reusable-build-wheel.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
build-wheel:
4545
name: >-
4646
Build ${{ inputs.tag }} wheels on ${{ inputs.os }} ${{ inputs.qemu }}
47-
runs-on: ${{ inputs.os }}-latest
47+
runs-on: ${{
48+
inputs.os == 'windows-11-arm' && inputs.os ||
49+
format('{0}-latest', inputs.os)
50+
}}
4851
timeout-minutes: ${{ inputs.qemu && 120 || 15 }}
4952
steps:
5053
- name: Compute GHA artifact name ending

CHANGES/1167.contrib.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Builds have been added for arm64 Windows
2+
wheels and the ``reusable-build-wheel.yml``
3+
template has been modified to allow for
4+
an os value (``windows-11-arm``) which
5+
does not end with the ``-latest`` postfix.

0 commit comments

Comments
 (0)