mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
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.
This commit is contained in:
parent
8e4ea2cbbd
commit
fad99c7a88
@ -307,7 +307,7 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg)
|
|||||||
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
|
||||||
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
|
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)
|
# 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
|
# while installing python3-virtualenv should help, it doesn't. as even
|
||||||
@ -479,7 +479,7 @@ deps)
|
|||||||
case "$OS_NAME" in
|
case "$OS_NAME" in
|
||||||
linux)
|
linux)
|
||||||
sudo apt-get update -y && \
|
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)
|
alpine)
|
||||||
apk add --no-cache build-base automake autoconf libtool pkgconfig && \
|
apk add --no-cache build-base automake autoconf libtool pkgconfig && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user