[openssh-commits] [openssh] 01/02: Add test configs for MUSL C library.
git+noreply at mindrot.org
git+noreply at mindrot.org
Sun Feb 20 13:32:27 AEDT 2022
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 63bf4f49ed2fdf2da6f97136c9df0c8168546eb3
Author: Darren Tucker <dtucker at dtucker.net>
Date: Fri Feb 18 12:12:21 2022 +1100
Add test configs for MUSL C library.
---
.github/configs | 6 ++++++
.github/setup_ci.sh | 3 +++
.github/workflows/c-cpp.yml | 1 +
3 files changed, 10 insertions(+)
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 }
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list