#!/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