Skip to content

Commit

Permalink
ci: enable QEMU when building Python packages for Linux ARM.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 3, 2025
1 parent f443992 commit cbd87ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ jobs:
pip install maturin==1.7.4
maturin sdist --manifest-path py/Cargo.toml -o wheelhouse
# QEMU is required when building for aarch64.
# https://cibuildwheel.pypa.io/en/stable/faq/#emulation
- name: Set up QEMU
if: matrix.build == 'linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build ${{ matrix.platform || matrix.os }} binaries
run: cibuildwheel --output-dir wheelhouse py
env:
Expand Down

0 comments on commit cbd87ef

Please sign in to comment.