]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Test all available clang and gcc versions.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 01:36:13 +0000 (11:36 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 02:05:50 +0000 (12:05 +1000)
.github/configs
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index 12578c0673482dbbd9780f691156d203e1e0c69c..01764aaaabde71f3ff9ffdea309ed1e3cf3ff764 100755 (executable)
@@ -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"
index 107c049c4175acc3e6a8356b66b4bed0cc85479b..d9e4a906ff0e41fe4e9e78d7462d6bd43b72a315 100755 (executable)
@@ -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"
index 152ddaa4fba6ab260906ef41e8ac00e1162631a8..b6cd34416138ac19427536b4aac9492020262781 100644 (file)
@@ -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 }