Skip to content

Commit

Permalink
Fix auditwheel manylinux compliance scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed May 8, 2022
1 parent 16e6cbd commit e9edbb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/manylinux_compliant.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -e

which cargo > /dev/null 2>&1 || curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal

for PYBIN in /opt/python/cp3[6789]*/bin; do
for PYBIN in /opt/python/cp3[789]*/bin; do
cargo run -- build --no-sdist -m test-crates/pyo3-mixed/Cargo.toml -i "${PYBIN}/python" --manylinux $1 -o dist
done
2 changes: 2 additions & 0 deletions tests/manylinux_incompliant.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e

which cargo > /dev/null || curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal

# Fail because we're running in manylinux2014, which can't build for manylinux 2010
Expand Down

0 comments on commit e9edbb6

Please sign in to comment.