forked from pypa/manylinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split tests from the image build (pypa#1008)
This allows not to invalidate docker cache when updating tests. Also saves 5 layers in the image by copying all files needed by the finalize.sh script in 1 COPY.
- Loading branch information
Showing
6 changed files
with
28 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Stop at any error, show all commands | ||
set -exuo pipefail | ||
|
||
# Get script directory | ||
MY_DIR=$(dirname "${BASH_SOURCE[0]}") | ||
|
||
|
||
for PYTHON in /opt/python/*/bin/python; do | ||
# Smoke test to make sure that our Pythons work, and do indeed detect as | ||
# being manylinux compatible: | ||
$PYTHON $MY_DIR/manylinux-check.py ${AUDITWHEEL_POLICY} ${AUDITWHEEL_ARCH} | ||
# Make sure that SSL cert checking works | ||
$PYTHON $MY_DIR/ssl-check.py | ||
done | ||
|
||
# minimal tests for tools that should be present | ||
autoconf --version | ||
automake --version | ||
libtoolize --version | ||
patchelf --version | ||
git --version | ||
cmake --version | ||
swig -version |
File renamed without changes.