Skip to content

Commit

Permalink
feat: build aarch64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
vermut authored May 5, 2024
1 parent 56233ca commit 76a3ac3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
with:
ref: ${{ github.event.inputs.branch }}
submodules: true

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Install Python
uses: actions/setup-python@v5
with:
Expand All @@ -37,10 +44,16 @@ jobs:
env:
CIBW_SKIP: "cp36-*" # skip 3.6
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ARCHS_LINUX: "auto aarch64"
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions-macos
path: ./wheelhouse/*.whl
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions-linux
path: ./wheelhouse/*.whl


source-distribution:
name: Build source distribution
Expand Down

0 comments on commit 76a3ac3

Please sign in to comment.