Skip to content

Commit

Permalink
Update test_python.yml to test aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu authored Sep 28, 2023
1 parent 34f74ee commit 122d478
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ on: [workflow_dispatch]

jobs:
build-manylinux2014-x86_64-wheels:
name: "Build Manylinux 2014 x86_64 wheel"
name: "Build Manylinux 2014 aarch64 wheel"
runs-on: ubuntu-20.04
defaults:
run:
working-directory: lightspark-crypto-python
container:
image: quay.io/pypa/manylinux2014_x86_64
image: quay.io/pypa/manylinux2014_aarch64
env:
PLAT: manylinux2014_x86_64
PLAT: manylinux2014_aarch64
PYBIN: "/opt/python/${{ matrix.python }}/bin"
strategy:
matrix:
Expand All @@ -32,13 +32,13 @@ jobs:
run: bash ./scripts/generate-linux.sh

- name: "Build wheel"
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_17_x86_64 --verbose
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_17_aarch64 --verbose

- run: pwd
- run: ls dist

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
name: lightspark_crypto_python-manylinux2014-x86_64-${{ matrix.python }}
name: lightspark_crypto_python-manylinux2014-aarch64-${{ matrix.python }}
path: /home/runner/work/lightspark-crypto-uniffi/lightspark-crypto-python/dist/*.whl

0 comments on commit 122d478

Please sign in to comment.