Skip to content

Commit

Permalink
BLD: Add wheels for Windows on ARM64 (#175)
Browse files Browse the repository at this point in the history
cibuildwheel supports cross-compiling wheels for this architecture,
though not running tests.
  • Loading branch information
QuLogic authored Jan 22, 2024
1 parent 73a31fa commit 8bde9cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
- os: ubuntu-latest
archs: s390x
manylinux_version: manylinux2014
- os: windows-latest
archs: ARM64
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -140,6 +142,19 @@ jobs:
KIWI_DISABLE_FH4: 1
run: |
python -m cibuildwheel . --output-dir dist
- name: Build wheels
if: runner.os == 'Windows' && matrix.archs != 'auto'
env:
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_ARCHS_WINDOWS: ${{ matrix.archs }}
# It is not yet possible to run ARM64 tests, only cross-compile them.
CIBW_TEST_SKIP: "*-win_arm64"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: python -m pytest {package}/py/tests -v
# Do not link against VC2014_1 on Windows.
KIWI_DISABLE_FH4: 1
run: |
python -m cibuildwheel . --output-dir dist
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 8bde9cd

Please sign in to comment.