Commit fa2c0c62 authored by mattip's avatar mattip
Browse files

fix image for aarch64, ppc64le, s390x

parent bb46ec2a
......@@ -195,6 +195,7 @@ matrix:
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=aarch64
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# s390x builds
- os: linux
arch: s390x
......@@ -203,6 +204,7 @@ matrix:
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=s390x
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
# ppc64le builds
- os: linux
arch: ppc64le
......@@ -211,6 +213,7 @@ matrix:
- MB_ML_VER=2014
- TEST_BUILDS=1
- PLAT=ppc64le
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
script:
- export ENV_VARS_PATH="tests/env_vars.sh"
......
......@@ -333,17 +333,22 @@ function install_wheel {
# WHEEL_SDIR (optional, default "wheelhouse")
# TEST_DEPENDS (optional, default "")
# MANYLINUX_URL (optional, default "") (via pip_opts function)
set -x
local wheelhouse=$(abspath ${WHEEL_SDIR:-wheelhouse})
if [ -n "$TEST_DEPENDS" ]; then
while read TEST_DEPENDENCY; do
pip install $(pip_opts) $@ $TEST_DEPENDENCY
done <<< "$TEST_DEPENDS"
fi
ls .
which pip
which python
pip install packaging
get_platform
local supported_wheels=$(python $MULTIBUILD_DIR/supported_wheels.py $wheelhouse/*.whl)
if [ -z "$supported_wheels" ]; then
echo "ERROR: no supported wheels found"
ls $wheelhouse/*.whl
exit 1
fi
# Install compatible wheel
......
......@@ -34,6 +34,5 @@ def main():
if supported.intersection(tags):
print(fname)
if __name__ == '__main__':
main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment