Skip to content

Commit 2f9a5de

Browse files
committed
test podman and manylinux2010_x86_64
1 parent fdc10c6 commit 2f9a5de

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.github/workflows/test-action.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
- pyver: cp27-cp27m
4949
piparch: manylinux1_x86_64
5050

51+
- pyver: cp37-cp37m
52+
piparch: manylinux2010_x86_64
53+
54+
- pyver: cp38-cp38
55+
piparch: manylinux2014_x86_64
56+
5157
- pyver: cp310-cp310
5258
piparch: manylinux2014_x86_64
5359
steps:
@@ -78,3 +84,52 @@ jobs:
7884
chmod +x runit.sh
7985
docker pull quay.io/pypa/${{ matrix.piparch }}
8086
docker run --privileged --rm -v `pwd`:/io quay.io/pypa/${{ matrix.piparch }} ${{ matrix.pre }} /io/runit.sh
87+
88+
89+
podman:
90+
runs-on: ubuntu-latest
91+
name: podman ${{ matrix.piparch }} / ${{ matrix.pyver }}
92+
strategy:
93+
fail-fast: false
94+
matrix:
95+
include:
96+
- pyver: cp27-cp27m
97+
piparch: manylinux1_x86_64
98+
99+
- pyver: cp37-cp37m
100+
piparch: manylinux2010_x86_64
101+
102+
- pyver: cp38-cp38
103+
piparch: manylinux2014_x86_64
104+
105+
- pyver: cp310-cp310
106+
piparch: manylinux2014_x86_64
107+
steps:
108+
- uses: actions/checkout@v3
109+
110+
- uses: ./
111+
112+
- name: Docker
113+
run: |
114+
# can't use GHA native docker support since GHA magic binaries need .so absent from old manylinux images :(
115+
cat <<EOF > runit.sh
116+
#!/bin/sh
117+
set -e -x
118+
ls -d /opt/python
119+
cd /io
120+
export PATH="/opt/python/${{ matrix.pyver }}/bin:\$PATH"
121+
which python
122+
yum -y install gdb
123+
124+
python -m pip install -U pip
125+
python -m pip install setuptools
126+
127+
python build_crasher.py
128+
python -m ci_core_dumper exec python test_crasher.py
129+
130+
EOF
131+
cat runit.sh
132+
chmod +x runit.sh
133+
podman run --rm \
134+
-v `pwd`:/io quay.io/pypa/${{ matrix.piparch }} \
135+
/io/runit.sh

0 commit comments

Comments
 (0)