]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Explicitly install required packages for Linux builds
authorTobias Brunner <tobias@strongswan.org>
Thu, 27 Feb 2025 16:22:14 +0000 (17:22 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 28 Feb 2025 13:21:41 +0000 (14:21 +0100)
The runner images have some software pre-installed, which isn't the
case on regular Ubuntu images.

scripts/test.sh

index b60dee84d5ff19bf5a9b5eb1733c860603e907b8..4f6024c50d11d7a85063227cb8dedfc77d7bd377 100755 (executable)
@@ -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 && \