55 types : [created]
66
77jobs :
8- linux-wheels :
9- runs-on : ubuntu-latest
10- container : quay.io/pypa/manylinux2014_x86_64:latest
11- steps :
12- - uses : actions/checkout@v1
13- - name : Build wheel
14- run : |
15- curl https://sh.rustup.rs -sSf | bash -s -- -y
16- . $HOME/.cargo/env
17- apt-get install python-pip
18- pip install --upgrade pip
19- pip install cffi
20- maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --manylinux 2014
21- aarch-linux-wheels :
22- runs-on : ubuntu-latest
23- container : messense/manylinux_2_24-cross:aarch64
24- steps :
25- - uses : actions/checkout@v1
26- - name : Build wheel
27- run : |
28- curl https://sh.rustup.rs -sSf | bash -s -- -y
29- . $HOME/.cargo/env
30- rustup target add aarch64-unknown-linux-gnu
31- pip install cffi
32- maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --manylinux 2014
33- osx-wheels :
34- runs-on : macos-latest
8+ build :
9+ strategy :
10+ matrix :
11+ platform : [ubuntu-latest, macos-latest, windows-latest]
12+ runs-on : ${{ matrix.platform }}
3513 steps :
3614 - name : checkout
3715 uses : actions/checkout@v1
@@ -52,26 +30,15 @@ jobs:
5230 maturin build -b cffi --release
5331 - name : Publish with Maturin
5432 run : maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
55- windows-wheels :
56- runs-on : windows-latest
33+ aarch-build :
34+ runs-on : ubuntu-latest
35+ container : messense/manylinux_2_24-cross:aarch64
5736 steps :
58- - name : checkout
59- uses : actions/checkout@v1
60- - name : Setup Rust environment
61- uses : actions-rs/toolchain@v1
62- with :
63- profile : minimal
64- toolchain : stable
65- override : true
66- - name : Setup Python environment
67- uses : actions/setup-python@v2
68- with :
69- python-version : 3.7
70- - name : maturin build
37+ - uses : actions/checkout@v1
38+ - name : Build wheel
7139 run : |
72- pip install --upgrade pip
73- pip install --no-cache-dir cffi maturin==0.11.4
74- maturin build -b cffi --release
75- - name : Publish with Maturin
76- run : maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
77-
40+ curl https://sh.rustup.rs -sSf | bash -s -- -y
41+ . $HOME/.cargo/env
42+ rustup target add aarch64-unknown-linux-gnu
43+ pip install cffi
44+ maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --manylinux 2014
0 commit comments