Add test configs for MUSL C library.

This commit is contained in:
Darren Tucker 2022-02-18 12:12:21 +11:00
parent f7fc6a43f1
commit 63bf4f49ed
3 changed files with 10 additions and 0 deletions

6
.github/configs vendored
View File

@ -67,6 +67,12 @@ case "$config" in
libedit) libedit)
CONFIGFLAGS="--with-libedit" CONFIGFLAGS="--with-libedit"
;; ;;
musl)
CC="musl-gcc"
CONFIGFLAGS="--without-zlib"
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET="t-exec"
;;
pam-krb5) pam-krb5)
CONFIGFLAGS="--with-pam --with-kerberos5" CONFIGFLAGS="--with-pam --with-kerberos5"
SSHD_CONFOPTS="UsePam yes" SSHD_CONFOPTS="UsePam yes"

3
.github/setup_ci.sh vendored
View File

@ -57,6 +57,9 @@ for TARGET in $TARGETS; do
hardenedmalloc) hardenedmalloc)
INSTALL_HARDENED_MALLOC=yes INSTALL_HARDENED_MALLOC=yes
;; ;;
musl)
PACKAGES="$PACKAGES musl-tools"
;;
tcmalloc) tcmalloc)
PACKAGES="$PACKAGES libgoogle-perftools-dev" PACKAGES="$PACKAGES libgoogle-perftools-dev"
;; ;;

View File

@ -38,6 +38,7 @@ jobs:
- { os: ubuntu-20.04, configs: kitchensink } - { os: ubuntu-20.04, configs: kitchensink }
- { os: ubuntu-20.04, configs: hardenedmalloc } - { os: ubuntu-20.04, configs: hardenedmalloc }
- { os: ubuntu-20.04, configs: tcmalloc } - { os: ubuntu-20.04, configs: tcmalloc }
- { os: ubuntu-20.04, configs: musl }
- { os: ubuntu-latest, configs: libressl-master } - { os: ubuntu-latest, configs: libressl-master }
- { os: ubuntu-latest, configs: libressl-2.2.9 } - { os: ubuntu-latest, configs: libressl-2.2.9 }
- { os: ubuntu-latest, configs: libressl-2.8.3 } - { os: ubuntu-latest, configs: libressl-2.8.3 }