Skip to content

Commit

Permalink
Add Imcompliant Build
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Feb 28, 2021
1 parent 59666d4 commit b14fa9e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
manylinux: [2010, 2014]
manylinux: ['2010', '2014']
steps:
- uses: actions/checkout@v2
- name: Build
Expand All @@ -90,3 +90,13 @@ jobs:
done
' > build-wheel.sh
docker run --rm -v "$PWD":/io -w /io quay.io/pypa/manylinux${{ matrix.manylinux }}_x86_64 bash build-wheel.sh
- name: Imcompliant Build
if: matrix.manylinux == '2014'
run: |
echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
source ~/.cargo/env
for PYBIN in /opt/python/cp3[6]*/bin; do
cargo run -- build --no-sdist -m test-crates/pyo3-mixed/Cargo.toml -i "${PYBIN}/python" --manylinux 2010 -o dist
done
' > build-wheel.sh
docker run --rm -v "$PWD":/io -w /io quay.io/pypa/manylinux${{ matrix.manylinux }}_x86_64 bash build-wheel.sh

0 comments on commit b14fa9e

Please sign in to comment.