diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-02-17 18:41:30 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-02-17 20:46:03 +1100 |
commit | 09f4b84654b71099559492e9aed5e1a38bf24815 (patch) | |
tree | dd3367816f6a8c08f8c862b99d1dcf6779cf000d /.github/setup_ci.sh | |
parent | 65380ff7e054be1454e5ab4fd7bb9c66f8fcbaa9 (diff) |
Convert most github hosted tests to new config structure.
Diffstat (limited to '.github/setup_ci.sh')
-rwxr-xr-x | .github/setup_ci.sh | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 187a4fad..16eca545 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -18,35 +18,39 @@ set -ex lsb_release -a +if [ "${TARGETS}" = "kitchensink" ]; then + TARGETS="kerberos5 libedit pam sk selinux" +fi + for TARGET in $TARGETS; do case $TARGET in - ""|--without-openssl|--without-zlib|--with-Werror|--with-rpath*|--with-ssl-dir=*|--with-zlib=*) + default|without-openssl|without-zlib) # nothing to do ;; - "--with-kerberos5") + kerberos5) PACKAGES="$PACKAGES heimdal-dev" #PACKAGES="$PACKAGES libkrb5-dev" ;; - "--with-libedit") + libedit) PACKAGES="$PACKAGES libedit-dev" ;; - "--with-pam") + *pam) PACKAGES="$PACKAGES libpam0g-dev" ;; - "--with-security-key-builtin") + sk) INSTALL_FIDO_PPA="yes" PACKAGES="$PACKAGES libfido2-dev libu2f-host-dev" ;; - "--with-selinux") + selinux) PACKAGES="$PACKAGES libselinux1-dev selinux-policy-dev" ;; - "--with-ldflags=-lhardened_malloc") + hardenedmalloc) INSTALL_HARDENED_MALLOC=yes ;; - "--with-ssl-dir=/opt/openssl/head") + openssl-head) INSTALL_OPENSSL_HEAD=yes ;; - "--with-ssl-dir=/opt/libressl/head") + libressl-head) INSTALL_LIBRESSL_HEAD=yes ;; *) echo "Invalid option '${TARGET}'" |