Skip to content

Commit

Permalink
Build wheels for Linux and Windows on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezibenroc committed Apr 1, 2023
1 parent 7b5e289 commit 8922a69
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,31 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-20.04
cibw_archs: "native"
- os: ubuntu-20.04
cibw_archs: "aarch64"
- os: windows-latest
cibw_archs: "native ARM64"
- os: macos-latest
cibw_archs: "x86_64 universal2 arm64"

steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
- name: Set up QEMU
if: matrix.cibw_archs == 'aarch64'
uses: docker/setup-qemu-action@v2
with:
config-file: "{package}/pyproject-cibuildwheel.toml"
platforms: arm64
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
env:
CIBW_TEST_REQUIRES: "hypothesis"
CIBW_TEST_COMMAND: "python {project}/test.py && python {project}/cydoctest.py"
CIBW_SKIP: "pp* cp36-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
CIBW_TEST_SKIP: "*-win_arm64"

- uses: actions/upload-artifact@v3
with:
Expand Down
9 changes: 0 additions & 9 deletions pyproject-cibuildwheel.toml

This file was deleted.

2 changes: 1 addition & 1 deletion pyroaring/version.pxi
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0"
__version__ = "0.4.1.dev2"

0 comments on commit 8922a69

Please sign in to comment.