From fad99c7a88355f6947d58c3564e01fc3b49a0397 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 27 Feb 2025 17:22:14 +0100 Subject: [PATCH] github: Explicitly install required packages for Linux builds The runner images have some software pre-installed, which isn't the case on regular Ubuntu images. --- scripts/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index b60dee84d..4f6024c50 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -307,7 +307,7 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg) libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev libldap2-dev libpcsclite-dev libpam0g-dev binutils-dev libnm-dev libgcrypt20-dev libjson-c-dev libtspi-dev libsystemd-dev - libselinux1-dev libiptc-dev python3-build tox" + libselinux1-dev libiptc-dev ruby-rubygems python3-build tox" if [ "$ID" = "ubuntu" -a "$VERSION_ID" = "22.04" -a "$1" = "build-deps" ]; then # python3-build is broken on 22.04 with venv (https://bugs.launchpad.net/ubuntu/+source/python-build/+bug/1992108) # while installing python3-virtualenv should help, it doesn't. as even @@ -479,7 +479,7 @@ deps) case "$OS_NAME" in linux) sudo apt-get update -y && \ - sudo apt-get install -y bison flex gperf gettext $DEPS + sudo apt-get install -y automake autoconf libtool pkgconf bison flex gperf gettext $DEPS ;; alpine) apk add --no-cache build-base automake autoconf libtool pkgconfig && \