|
53 | 53 | name: manylinux-wheels
|
54 | 54 | path: dist
|
55 | 55 |
|
| 56 | + manylinuxaarch64: |
| 57 | + name: ${{ matrix.TARGET }}/wheel_creation |
| 58 | + runs-on: ${{ matrix.os }} |
| 59 | + strategy: |
| 60 | + fail-fast: false |
| 61 | + matrix: |
| 62 | + os: [ubuntu-latest] |
| 63 | + include: |
| 64 | + - os: ubuntu-latest |
| 65 | + TARGET: manylinuxaarch64 |
| 66 | + python-version: [3.7] |
| 67 | + steps: |
| 68 | + - uses: actions/checkout@v2 |
| 69 | + - name: Set up Python ${{ matrix.python-version }} |
| 70 | + uses: actions/setup-python@v1 |
| 71 | + with: |
| 72 | + python-version: ${{ matrix.python-version }} |
| 73 | + - uses: docker/setup-qemu-action@v1 |
| 74 | + name: Set up QEMU |
| 75 | + - name: Install dependencies |
| 76 | + run: | |
| 77 | + python -m pip install --upgrade pip |
| 78 | + pip install twine wheel setuptools |
| 79 | + - name: Build manylinux Python wheels |
| 80 | + uses: RalfG/[email protected]_aarch64 |
| 81 | + with: |
| 82 | + python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39' |
| 83 | + build-requirements: 'cython' |
| 84 | + package-path: '' |
| 85 | + pip-wheel-args: '' |
| 86 | + # When locally testing, --no-deps flag is necessary (PyUtilib dependency will trigger an error otherwise) |
| 87 | + - name: Consolidate wheels |
| 88 | + run: | |
| 89 | + sudo test -d dist || mkdir -v dist |
| 90 | + sudo find . -name \*.whl | grep -v /dist/ | xargs -n1 -i mv -v "{}" dist/ |
| 91 | + - name: Delete linux wheels |
| 92 | + run: | |
| 93 | + sudo rm -rfv dist/*-linux_aarch64.whl |
| 94 | + - name: Upload artifact |
| 95 | + uses: actions/upload-artifact@v1 |
| 96 | + with: |
| 97 | + name: manylinux-aarch64-wheels |
| 98 | + path: dist |
| 99 | + |
56 | 100 | generictarball:
|
57 | 101 | name: ${{ matrix.TARGET }}
|
58 | 102 | runs-on: ${{ matrix.os }}
|
|
0 commit comments