-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (33 loc) · 1.14 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
name: Test python build on linux
on: [workflow_dispatch]
jobs:
build-manylinux2014-arm64-wheels:
name: "Build Manylinux 2014 aarch64 wheel"
runs-on: macos-13
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
- name: "Install Python"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: cargo tree
run: cargo tree
- name: "Generate py source and binaries"
run: bash ./scripts/generate-linux-arm64.sh
- name: "Build wheel"
run: python3 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