Skip to content

Commit ce7936d

Browse files
committed
Add manylinux-2010 build
1 parent e892deb commit ce7936d

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/pythonpublish-linux.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
maturin build -b cffi --release
3131
- name: Publish with Maturin
3232
run: maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
33-
aarch-build:
33+
aarch-2014-build:
3434
runs-on: ubuntu-latest
3535
container: messense/manylinux_2_24-cross:aarch64
3636
steps:
@@ -40,5 +40,18 @@ jobs:
4040
curl https://sh.rustup.rs -sSf | bash -s -- -y
4141
. $HOME/.cargo/env
4242
rustup target add aarch64-unknown-linux-gnu
43-
pip install cffi
43+
pip install --no-cache-dir cffi
4444
maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --manylinux 2014
45+
x86_64-2010-build:
46+
runs-on: ubuntu-latest
47+
container: quay.io/pypa/manylinux2010_x86_64
48+
steps:
49+
- uses: actions/checkout@v1
50+
- name: Build wheel
51+
run: |
52+
curl https://sh.rustup.rs -sSf | bash -s -- -y
53+
. $HOME/.cargo/env
54+
yum install -y rh-python36
55+
scl enable rh-python36 bash
56+
pip install --no-cache-dir cffi maturin==0.11.4
57+
maturin publish -b cffi --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --manylinux 2010

0 commit comments

Comments
 (0)