-
Notifications
You must be signed in to change notification settings - Fork 16
51 lines (50 loc) · 1.38 KB
/
create-py-release-manylinux.yaml
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
43
44
45
46
47
48
49
50
51
name: Create Python release manylinux
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'py-v*' # Push events to matching py-v*, i.e. py-v1.0, py-v20.15.10
jobs:
linux:
name: PyPi (x86_64)
runs-on: ubuntu-latest
strategy:
matrix:
target: [ x86_64 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
architecture: x64
- name: publish
uses: PyO3/maturin-action@v1
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }}
with:
rust-toolchain: stable
target: ${{ matrix.target }}
manylinux: auto
command: publish
args: --no-sdist --skip-existing -o wheels -i python -u yankun
linux-cross:
name: PyPi (cross)
runs-on: ubuntu-latest
strategy:
matrix:
target: [ aarch64, armv7, ppc64le, ppc64 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: publish cross
uses: PyO3/maturin-action@v1
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }}
with:
rust-toolchain: stable
manylinux: auto
target: ${{ matrix.target }}
command: publish
args: --no-sdist --skip-existing -o wheels -i python -u yankun