Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09486d3

Browse files
committed
Build wheels for Windows ARM
1 parent 317e0e2 commit 09486d3

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ jobs:
3636
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos mypy \
3737
| pyp 'json.dumps({"only": x, "os": "macos-latest"})' \
3838
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform windows mypy \
39-
| pyp 'json.dumps({"only": x, "os": "windows-latest"})'
39+
| pyp 'json.dumps({"only": x, "os": "windows-latest"})' \
40+
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform windows --archs ARM64 mypy \
41+
| pyp 'json.dumps({"only": x, "os": "windows-11-arm"})'
4042
} | pyp 'json.dumps(list(map(json.loads, lines)))'
4143
)
4244
echo "include=$MATRIX" | tee -a $GITHUB_OUTPUT
4345
env:
4446
CIBW_ARCHS_MACOS: x86_64 arm64
45-
CIBW_ARCHS_WINDOWS: AMD64
4647

4748
build_wheels:
4849
name: Build ${{ matrix.only }}

cibuildwheel.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ linux.musllinux-aarch64-image = "musllinux_1_2"
88

99
enable = []
1010

11-
# Don't build musllinux arm64, PyPy and 32-bit Linux are skipped by default
11+
# Don't build musllinux arm64 and 32-bit Windows.
12+
# PyPy and 32-bit Linux are skipped by default
1213
# Skip free threading builds for now
1314
skip = [
1415
"cp31?t-*",

mypy_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6aa44da630a9a277b6e7b9c77f9083bb6e00c26b
1+
fb16e938d12f6b24b5edf8023d4adf8e0e36abb4

0 commit comments

Comments
 (0)