Skip to content

Commit

Permalink
Build linux aarch64 using emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreluctg authored Jan 8, 2025
1 parent b858a0a commit dbea6d1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
# cibw_archs: "aarch64"
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -37,7 +42,11 @@ jobs:
sudo apt-get upgrade -y
# sudo apt-get install -y python3-dev
- name: Build wheel
uses: pypa/cibuildwheel@v2.20
uses: pypa/cibuildwheel@v2.22
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_ARCHS_LINUX: auto aarch64

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit dbea6d1

Please sign in to comment.