diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-02-18 12:12:21 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-02-18 12:12:21 +1100 |
commit | 63bf4f49ed2fdf2da6f97136c9df0c8168546eb3 (patch) | |
tree | da004c9940e6e103f49a9bf9f4a726b6333c4bfa | |
parent | f7fc6a43f1173e8b2c38770bf6cee485a562d03b (diff) |
Add test configs for MUSL C library.
-rwxr-xr-x | .github/configs | 6 | ||||
-rwxr-xr-x | .github/setup_ci.sh | 3 | ||||
-rw-r--r-- | .github/workflows/c-cpp.yml | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/.github/configs b/.github/configs index 8287002b..87f2e46b 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 454767b4..ca37f8c5 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 9df10e7c..5ee89630 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 } |