github: Use libsoup 3 for tests

Requires installing libxml2-dev explicitly for the alpine build as
libsoup-dev had a dependency on it.
This commit is contained in:
Tobias Brunner
2025-06-04 19:08:57 +02:00
parent 9dbb15dea9
commit b8108a4c3c
+6 -6
View File
@@ -305,7 +305,7 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg|no-testable-ke)
if [ "$TEST" = "no-testable-ke" ]; then if [ "$TEST" = "no-testable-ke" ]; then
CONFIG="$CONFIG --without-testable-ke" CONFIG="$CONFIG --without-testable-ke"
fi fi
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev DEPS="$DEPS libcurl4-gnutls-dev libsoup-3.0-dev libunbound-dev libldns-dev
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
libldap2-dev libpcsclite-dev libpam0g-dev binutils-dev libnm-dev libldap2-dev libpcsclite-dev libpam0g-dev binutils-dev libnm-dev
libgcrypt20-dev libjson-c-dev libtspi-dev libsystemd-dev libgcrypt20-dev libjson-c-dev libtspi-dev libsystemd-dev
@@ -318,11 +318,11 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg|no-testable-ke)
fi fi
if [ "$TEST" = "alpine" ]; then if [ "$TEST" = "alpine" ]; then
# override the whole list for alpine # override the whole list for alpine
DEPS="git gmp-dev openldap-dev curl-dev ldns-dev unbound-dev libsoup-dev DEPS="git gmp-dev openldap-dev curl-dev ldns-dev unbound-dev libsoup3-dev
tpm2-tss-dev tpm2-tss-sys mariadb-dev wolfssl-dev libgcrypt-dev libxml2-dev tpm2-tss-dev tpm2-tss-sys mariadb-dev wolfssl-dev
botan3-dev pcsc-lite-dev networkmanager-dev linux-pam-dev libgcrypt-dev botan3-dev pcsc-lite-dev networkmanager-dev
iptables-dev libselinux-dev binutils-dev libunwind-dev ruby linux-pam-dev iptables-dev libselinux-dev binutils-dev libunwind-dev
py3-setuptools py3-build py3-tox" ruby py3-setuptools py3-build py3-tox"
# musl does not provide backtrace(), so use libunwind # musl does not provide backtrace(), so use libunwind
CONFIG="$CONFIG --enable-unwind-backtraces" CONFIG="$CONFIG --enable-unwind-backtraces"
# alpine doesn't have systemd # alpine doesn't have systemd