-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 1.2 KB
/
test_python.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Test python build on linux
on: [workflow_dispatch]
jobs:
build-manylinux2014-x86_64-wheels:
name: "Build Manylinux 2014 aarch64 wheel"
runs-on: ubuntu-20.04
defaults:
run:
working-directory: lightspark-crypto-python
strategy:
matrix:
python: # Update this list whenever the docker image is updated (check /opt/python/)
- cp310-cp310
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: "Generate py source and binaries"
run: bash ./scripts/generate-linux-arm64.sh
- name: "Build wheel"
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-aarch64-${{ matrix.python }}
path: /home/runner/work/lightspark-crypto-uniffi/lightspark-crypto-python/dist/*.whl