Skip to content

Commit

Permalink
Use native ARM runners for building aarch64 wheels
Browse files Browse the repository at this point in the history
This should speed things up significantly
  • Loading branch information
bmerry committed Mar 3, 2025
1 parent a7013f8 commit cfc2f36
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,23 +206,25 @@ jobs:

cibuildwheel-linux:
needs: [test-cxx, test-python, coverage, lint]
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
arch: [x86_64, aarch64]
python: [cp39, cp310, cp311, cp312, cp313]
# Set os based on arch
include:
- arch: x86_64
os: ubuntu-24.04
- arch: aarch64
os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
env:
SCCACHE_GHA_ENABLED: "true"
steps:
- uses: actions/checkout@v4
- name: Set up sccache
uses: mozilla-actions/[email protected]
- uses: docker/setup-qemu-action@v3
with:
platforms: arm64
if: matrix.arch != 'x86_64'
- uses: pypa/[email protected]
- uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: ${{ matrix.python }}-manylinux*
Expand Down

0 comments on commit cfc2f36

Please sign in to comment.