diff --git a/.github/configs b/.github/configs index 8287002bf..87f2e46b6 100755 --- a/.github/configs +++ b/.github/configs @@ -67,6 +67,12 @@ case "$config" in libedit) CONFIGFLAGS="--with-libedit" ;; + musl) + CC="musl-gcc" + CONFIGFLAGS="--without-zlib" + LIBCRYPTOFLAGS="--without-openssl" + TEST_TARGET="t-exec" + ;; pam-krb5) CONFIGFLAGS="--with-pam --with-kerberos5" SSHD_CONFOPTS="UsePam yes" diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index 454767b49..ca37f8c55 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -57,6 +57,9 @@ for TARGET in $TARGETS; do hardenedmalloc) INSTALL_HARDENED_MALLOC=yes ;; + musl) + PACKAGES="$PACKAGES musl-tools" + ;; tcmalloc) PACKAGES="$PACKAGES libgoogle-perftools-dev" ;; diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 9df10e7cc..5ee896308 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -38,6 +38,7 @@ jobs: - { os: ubuntu-20.04, configs: kitchensink } - { os: ubuntu-20.04, configs: hardenedmalloc } - { os: ubuntu-20.04, configs: tcmalloc } + - { os: ubuntu-20.04, configs: musl } - { os: ubuntu-latest, configs: libressl-master } - { os: ubuntu-latest, configs: libressl-2.2.9 } - { os: ubuntu-latest, configs: libressl-2.8.3 }