Skip to content

Commit

Permalink
build: add aarch64 manylinux wheel builds
Browse files Browse the repository at this point in the history
Use QEMU to enable builds of native aarch64 manylinux wheels.
Also upgrade cibuildwheel to the latest version.
  • Loading branch information
no23reason committed Oct 20, 2023
1 parent ffb23c6 commit 477c399
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,21 @@ jobs:
with:
name: sources

# only initialize QEMU on Linux, other platforms don't need it
- name: Set up QEMU to add multiplatform support
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.2
env:
# architectures:
# - 64-bit linux (x86_64/i686/aarch64/ppc64le/s390x)
# - 64-bit windows (AMD64/x86/ARM64)
# - 64-bit macos (x86_64/arm64/universal2)
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_WINDOWS: AMD64 ARM64
CIBW_ARCHS_MACOS: x86_64 arm64
# disable builds:
Expand Down

0 comments on commit 477c399

Please sign in to comment.