diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70c5e390e..6bfd7693c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - manylinux: [2010, 2014] + manylinux: ['2010', '2014'] steps: - uses: actions/checkout@v2 - name: Build @@ -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 \ No newline at end of file