blob: a780ab412786361c25b4fc8dcd18c1b30a0cb4fe [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