blob: 9463c21db407aed27fc19664c7d5bcc429aee37b [file] [log] [blame]
#!/bin/sh
# Script to test that a generated BuildStream+BuildBox wheel package is
# functional in the PyPA "manylinux" container images.
#
# The test is run via `run-ci.sh` which in turn uses `docker-compose` to
# execute this script.
set -eux
COMPATIBILITY_TAGS=$1
PYTHON=$2
dnf install -y bubblewrap
"$PYTHON" -m venv /tmp/venv
/tmp/venv/bin/pip3 install ./wheelhouse/BuildStream-*-$COMPATIBILITY_TAGS-*.whl buildstream-plugins
cd doc/examples/autotools
/tmp/venv/bin/bst build hello.bst