Skip to content

Commit 75be545

Browse files
committed
ci: build windows arm64 wheels
1 parent be0b668 commit 75be545

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: build
22
on:
33
workflow_call:
4+
push:
5+
branches: [pr1304]
46

57
jobs:
68
# Build python wheels
@@ -11,7 +13,15 @@ jobs:
1113
fail-fast: false
1214
matrix:
1315
# 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]
16+
os:
17+
[
18+
macos-13,
19+
macos-latest,
20+
ubuntu-latest,
21+
ubuntu-24.04-arm,
22+
windows-latest,
23+
windows-11-arm,
24+
]
1525
env:
1626
SCCACHE_VERSION: 0.2.13
1727
GITHUB_WORKSPACE: "${{github.workspace}}"

pyproject.toml

Lines changed: 2 additions & 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,5 @@ 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+
archs = ["auto", "ARM64"]
108+
before-all = "rustup target add x86_64-pc-windows-msvc i686-pc-windows-msvc aarch64-pc-windows-msvc"

0 commit comments

Comments
 (0)