Commit 707b0f36 authored by Mario Limonciello's avatar Mario Limonciello Committed by Mario Limonciello
Browse files

trivial: install any missing dependencies in containers

some of these might not be present if the containers got out of
sync.  it will be a no-op at worst.
parent f3c3adb7
......@@ -9,6 +9,9 @@ if [ "$CI_NETWORK" = "true" ]; then
export G_TEST_SRCDIR=`pwd`/fwupd-test-firmware/installed-tests
#install anything missing from the container
./contrib/ci/ | xargs pacman -S --noconfirm --needed
# prepare the build tree
rm -rf build
mkdir build && pushd build
......@@ -29,6 +29,7 @@ sed s/quilt/native/ debian/source/format -i
#check if we have all deps available
#if some are missing, we're going to use subproject instead and
#packaging CI will fail
./contrib/ci/ | xargs apt install -y || true
if ! dpkg-checkbuilddeps; then
exit 0
......@@ -25,6 +25,9 @@ if ! find . -name '*.sh' | xargs shellcheck --severity=error -e SC2068; then
exit 1
#get any missing deps from the container
./contrib/ci/ | xargs dnf install -y
#generate a tarball
git config tar.tar.xz.command "xz -c"
mkdir -p build && pushd build
Supports Markdown
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