Skip to content

Commit f209c53

Browse files
finnagincobaltt7
andauthored
Add arm64 windows builds and tests (#4814)
Co-authored-by: cobalt <[email protected]>
1 parent 0a31a36 commit f209c53

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

.github/workflows/pypi_upload.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
&& cibuildwheel --print-build-identifiers --platform macos \
6363
| pyp 'json.dumps({"only": x, "os": "macos-latest"})' \
6464
&& cibuildwheel --print-build-identifiers --platform windows \
65-
| pyp 'json.dumps({"only": x, "os": "windows-latest"})'
65+
| pyp 'json.dumps({"only": x, "os": "windows-latest"})' \
66+
&& cibuildwheel --print-build-identifiers --platform windows --archs ARM64 \
67+
| pyp 'json.dumps({"only": x, "os": "windows-11-arm"})'
6668
} | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix
6769
env:
6870
CIBW_ARCHS_LINUX: x86_64

.github/workflows/release_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
python-version: ["3.13"]
29-
os: [macOS-latest, ubuntu-latest, windows-latest]
29+
os: [macOS-latest, ubuntu-latest, windows-latest, windows-11-arm]
3030

3131
steps:
3232
- uses: actions/checkout@v5

.github/workflows/test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,16 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: ["3.9", "3.10", "3.11", "3.12.4", "3.13", "3.14", "pypy-3.9"]
35-
os: [ubuntu-latest, macOS-latest, windows-latest]
34+
python-version: ["3.9", "3.10", "3.11", "3.12.10", "3.13", "3.14", "pypy-3.9"]
35+
os: [ubuntu-latest, macOS-latest, windows-latest, windows-11-arm]
36+
exclude:
37+
# setup-python only supports 3.11+ on arm64 windows
38+
- os: windows-11-arm
39+
python-version: "3.9"
40+
- os: windows-11-arm
41+
python-version: "3.10"
42+
- os: windows-11-arm
43+
python-version: "pypy-3.9"
3644

3745
steps:
3846
- uses: actions/checkout@v5

.github/workflows/upload_binary.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [windows-2025, ubuntu-22.04, ubuntu-22.04-arm, macos-latest]
16+
os: [windows-2025, windows-11-arm, ubuntu-22.04, ubuntu-22.04-arm, macos-latest]
1717
include:
1818
- os: windows-2025
1919
pathsep: ";"
2020
asset_name: black_windows.exe
2121
executable_mime: "application/vnd.microsoft.portable-executable"
22+
- os: windows-11-arm
23+
pathsep: ";"
24+
asset_name: black_windows-arm.exe
25+
executable_mime: "application/vnd.microsoft.portable-executable"
2226
- os: ubuntu-22.04
2327
pathsep: ":"
2428
asset_name: black_linux
@@ -38,7 +42,7 @@ jobs:
3842
- name: Set up latest Python
3943
uses: actions/setup-python@v6
4044
with:
41-
python-version: "3.12.4"
45+
python-version: "3.13"
4246

4347
- name: Install Black and PyInstaller
4448
run: |

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
### Packaging
8181

8282
- Releases now include arm64 Linux binaries (#4773)
83+
- Releases now include arm64 Windows binaries and wheels (#4814)
8384

8485
### Output
8586

0 commit comments

Comments
 (0)