-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github actions: added configuration to build manylinux wheels for arm64
- Loading branch information
1 parent
9742f59
commit a55b866
Showing
1 changed file
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,12 +85,12 @@ jobs: | |
with: | ||
path: ./dist/*.whl | ||
|
||
build_wheels_manylinux: | ||
build_wheels_manylinux_x86_64: | ||
name: Build manylinux wheels | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
# Need to use the image specified below to build manylinux wheels | ||
# PyPi only accepts manylinux wheels, it does not accept wheels for specific versions/architectures | ||
|
@@ -104,4 +104,30 @@ jobs: | |
- name: upload wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./dist/*-manylinux*.whl | ||
path: ./dist/*-manylinux*.whl | ||
|
||
build_wheels_manylinux_arm64: | ||
name: Build manylinux wheels (arm64) | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
# Register QEMU for cross-architecture emulation | ||
- name: Set up QEMU for cross-compilation | ||
uses: docker/setup-qemu-action@v2 | ||
with: | ||
platforms: arm64 | ||
|
||
# Build manylinux Python wheels for arm64 architecture | ||
- name: Build manylinux Python wheels (arm64) | ||
uses: RalfG/[email protected]_aarch64 | ||
with: | ||
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' | ||
build-requirements: 'setuptools' | ||
|
||
- name: Upload arm64 wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./dist/*-manylinux*.whl | ||
name: wheels-arm64 |