Skip to content

Commit 8845764

Browse files
authored
ci: build windows arm64 wheels (#1304)
1 parent 6cfabc9 commit 8845764

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
# macos-13 is an intel runner, macos-latest is apple silicon
14-
os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest]
14+
os:
15+
[
16+
macos-13,
17+
macos-latest,
18+
ubuntu-latest,
19+
ubuntu-24.04-arm,
20+
windows-latest,
21+
windows-11-arm,
22+
]
1523
env:
1624
SCCACHE_VERSION: 0.2.13
1725
GITHUB_WORKSPACE: "${{github.workspace}}"
@@ -25,6 +33,7 @@ jobs:
2533
cache: pip
2634
cache-dependency-path: "pyproject.toml"
2735
python-version: "3.12"
36+
- uses: dtolnay/rust-toolchain@stable # zizmor: ignore[unpinned-uses]
2837
- name: Set MACOSX_DEPLOYMENT_TARGET for Intel MacOS
2938
if: matrix.os == 'macos-13'
3039
run: >-

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ environment = { PATH = "$PATH:$HOME/.cargo/bin", LIBCST_NO_LOCAL_SCHEME="1" }
9090
skip = [
9191
"pp*",
9292
"*-win32",
93-
"*-win_arm64",
9493
"*-musllinux_i686",
9594
"*-musllinux_ppc64le",
9695
"*-musllinux_s390x",
@@ -105,4 +104,4 @@ before-all = "yum install -y libatomic; curl https://sh.rustup.rs -sSf | env -u
105104
before-all = "rustup target add aarch64-apple-darwin x86_64-apple-darwin"
106105

107106
[tool.cibuildwheel.windows]
108-
before-all = "rustup target add x86_64-pc-windows-msvc i686-pc-windows-msvc"
107+
before-all = "rustup target add x86_64-pc-windows-msvc i686-pc-windows-msvc aarch64-pc-windows-msvc"

0 commit comments

Comments
 (0)