[openssh-commits] [openssh] 01/08: Test all available clang and gcc versions.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Sep 29 18:45:16 AEST 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 360fb41ef8359619ab90b0d131c914494e55d3dd
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Sep 29 11:36:13 2021 +1000

    Test all available clang and gcc versions.
---
 .github/configs             |  3 +++
 .github/setup_ci.sh         |  3 +++
 .github/workflows/c-cpp.yml | 10 ++++++++++
 3 files changed, 16 insertions(+)

diff --git a/.github/configs b/.github/configs
index 12578c06..01764aaa 100755
--- a/.github/configs
+++ b/.github/configs
@@ -28,6 +28,9 @@ case "$config" in
 	CONFIGFLAGS="--without-openssl --without-zlib"
 	TEST_TARGET=t-exec
 	;;
+    clang*|gcc*)
+	CC="$config"
+	;;
     kitchensink)
 	CONFIGFLAGS="--with-kerberos5 --with-libedit --with-pam"
 	CONFIGFLAGS="${CONFIGFLAGS} --with-security-key-builtin --with-selinux"
diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 107c049c..d9e4a906 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -28,6 +28,9 @@ for TARGET in $TARGETS; do
     default|without-openssl|without-zlib|c89)
         # nothing to do
         ;;
+    clang-*|gcc-*)
+        PACKAGES="$PACKAGES $TARGET"
+        ;;
     kerberos5)
         PACKAGES="$PACKAGES heimdal-dev"
         #PACKAGES="$PACKAGES libkrb5-dev"
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 152ddaa4..b6cd3441 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -24,6 +24,16 @@ jobs:
           - { os: ubuntu-20.04, configs: valgrind-4 }
           - { os: ubuntu-20.04, configs: valgrind-unit }
           - { os: ubuntu-20.04, configs: c89 }
+          - { os: ubuntu-20.04, configs: clang-6.0 }
+          - { os: ubuntu-20.04, configs: clang-8 }
+          - { os: ubuntu-20.04, configs: clang-9 }
+          - { os: ubuntu-20.04, configs: clang-10 }
+          - { os: ubuntu-20.04, configs: clang-11 }
+          - { os: ubuntu-20.04, configs: clang-12 }
+          - { os: ubuntu-20.04, configs: gcc-7 }
+          - { os: ubuntu-20.04, configs: gcc-8 }
+          - { os: ubuntu-20.04, configs: gcc-10 }
+          - { os: ubuntu-20.04, configs: gcc-11 }
           - { os: ubuntu-20.04, configs: pam }
           - { os: ubuntu-20.04, configs: kitchensink }
           - { os: ubuntu-20.04, configs: hardenedmalloc }

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list