- name: "Install Dependencies"
run: ./scripts/test.sh deps
shell: bash
- - name: "Install Python Dependencies"
- run: ./scripts/test.sh pydeps
- shell: bash
- name: "Build Dependencies"
run: ./scripts/test.sh build-deps
shell: bash
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
libldap2-dev libpcsclite-dev libpam0g-dev binutils-dev libnm-dev
- libgcrypt20-dev libjson-c-dev python3-pip libtspi-dev libsystemd-dev
- libselinux1-dev libiptc-dev"
+ libgcrypt20-dev libjson-c-dev libtspi-dev libsystemd-dev
+ libselinux1-dev libiptc-dev 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
+ # after uninstalling python3-venv, build prefers the latter
+ sudo python3 -m pip install --upgrade build
+ fi
if [ "$TEST" = "alpine" ]; then
# override the whole list for alpine
DEPS="git gmp-dev openldap-dev curl-dev ldns-dev unbound-dev libsoup-dev
# and no Clearsilver
CONFIG="$CONFIG --disable-fast --disable-manager --disable-medsrv"
fi
- PYDEPS="build tox"
if test "$1" = "build-deps"; then
build_botan
build_wolfssl
esac
exit $?
;;
-pydeps)
- test -z "$PYDEPS" || pip3 -q install --user $PYDEPS
- exit $?
- ;;
build-deps)
exit
;;