CI: add missing dependencies for apt-get environments
@@ -61,6 +61,7 @@ declare -ra KCOV_APT_GET_DEPS=(\
)
declare -ra PYTHON_SSH_YUM_DEPS=(python3-devel)
+declare -ra PYTHON_SSH_APT_DEPS=(libssl-dev)
declare -ra GCC_STATIC_YUM_DEPS=(glibc-static)
# Some tests will build static binaries for use in systems without user space.
@@ -311,13 +312,15 @@ create_python3_venv() {
}
install_python3_deps() {
+ say "Setup: Installing python-devel."
if [ $PKG_MANAGER == "yum" ]; then
- say "Setup: Installed python-devel."
declare deps="${PYTHON_SSH_YUM_DEPS[@]}"
+ elif [ $PKG_MANAGER == "apt-get" ]; then
+ # It looks like on Debian and Ubuntu python-devel -static is included by default.
+ declare deps="${PYTHON_SSH_APT_DEPS[@]}"
+ fi
ensure $PKG_MANAGER install -q -y $deps >/dev/null 2>&1
say "Setup: Installed python-devel."
- fi
- # It looks like on Debian and Ubuntu python-devel -static is included by default.
ensure python3 -m pip install -q "${PYTHON_DEPS[@]}"
say "Setup: Installed python3 dependencies."
