Add Linux AArch64 wheel build support
@@ -9,17 +9,32 @@ jobs:
# Build and deploy manylinux wheel
Linux-build:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ platform: [x86_64, aarch64]
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
steps:
- uses: actions/checkout@v2
+ - name: Set up QEMU
+ if: ${{ matrix.platform == 'aarch64' }}
+ uses: docker/setup-qemu-action@v1
- name: Build and upload manylinux wheels
+ if: ${{ matrix.platform == 'x86_64' }}
uses: mozman/manylinux-wheel-builder@master
with:
python-versions: "3.7, 3.8, 3.9, 3.10"
# if true then github actions won't stop even if build for this job fails
continue-on-error: true
+ - name: Build and upload manylinux aarch64 wheels
+ if: ${{ matrix.platform == 'aarch64' }}
+ uses: RalfG/python-wheels-manylinux-build@v0.3.4-manylinux2014_aarch64
+ with:
+ python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
+ build-requirements: 'cython'
+ # if true then github actions won't stop even if build for this job fails
+ continue-on-error: true
# Deploy source distribution
Source-dist:
