Skip to content

Commit 94d6de3

Browse files
committed
Build ARM64 Windows wheels
ARM64 Python is available since Python 3.11, so add specs for 3.11-3.13 Use actions/setup-python to avoid using the host Python (3.9 currently on windows-2022) since the arm image doesn't have a native Python atm (see actions/partner-runner-images#85) and cibuildwheel warns that it will require 3.11 with v3, so might as well bump it for everything. Also adds one arm64 build to the default matrix setup, since the separate image makes it different enough to warrant testing on PRs imo. Fixes #109
1 parent 2b81170 commit 94d6de3

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,44 +454,68 @@ jobs:
454454
matrix_yaml: |
455455
include:
456456
- spec: cp38-win_amd64
457+
image: windows-2022
457458
omit: ${{ env.skip_ci_redundant_jobs }}
458459
459460
- spec: cp39-win_amd64
461+
image: windows-2022
460462
omit: ${{ env.skip_ci_redundant_jobs }}
461463
462464
- spec: cp310-win_amd64
465+
image: windows-2022
463466
omit: ${{ env.skip_ci_redundant_jobs }}
464467
465468
- spec: cp311-win_amd64
469+
image: windows-2022
466470
omit: ${{ env.skip_ci_redundant_jobs }}
467471
468472
- spec: cp312-win_amd64
473+
image: windows-2022
469474
omit: ${{ env.skip_ci_redundant_jobs }}
470475
471476
- spec: cp313-win_amd64
477+
image: windows-2022
472478
# omit: ${{ env.skip_ci_redundant_jobs }}
473479
474480
- spec: cp38-win32
481+
image: windows-2022
475482
omit: ${{ env.skip_ci_redundant_jobs }}
476483
477484
- spec: cp39-win32
485+
image: windows-2022
478486
omit: ${{ env.skip_ci_redundant_jobs }}
479487
480488
- spec: cp310-win32
489+
image: windows-2022
481490
omit: ${{ env.skip_ci_redundant_jobs }}
482491
483492
- spec: cp311-win32
493+
image: windows-2022
484494
omit: ${{ env.skip_ci_redundant_jobs }}
485495
486496
- spec: cp312-win32
497+
image: windows-2022
487498
omit: ${{ env.skip_ci_redundant_jobs }}
488499
489500
- spec: cp313-win32
501+
image: windows-2022
490502
omit: ${{ env.skip_ci_redundant_jobs }}
491503
504+
- spec: cp311-win_arm64
505+
image: windows-11-arm
506+
omit: ${{ env.skip_ci_redundant_jobs }}
507+
508+
- spec: cp312-win_arm64
509+
image: windows-11-arm
510+
omit: ${{ env.skip_ci_redundant_jobs }}
511+
512+
- spec: cp313-win_arm64
513+
image: windows-11-arm
514+
# omit: ${{ env.skip_ci_redundant_jobs }}
515+
492516
windows:
493517
needs: [python_sdist, make_windows_matrix]
494-
runs-on: windows-2022
518+
runs-on: ${{ matrix.image }}
495519
strategy:
496520
fail-fast: false
497521
matrix: ${{ fromJSON(needs.make_windows_matrix.outputs.matrix_json) }}
@@ -503,6 +527,11 @@ jobs:
503527
with:
504528
name: ${{ needs.python_sdist.outputs.sdist_artifact_name }}
505529

530+
- name: install python
531+
uses: actions/setup-python@v5
532+
with:
533+
python-version: 3.13
534+
506535
- name: build/test wheels
507536
id: build
508537
env:

0 commit comments

Comments
 (0)