From: Darren Tucker Date: Wed, 29 Sep 2021 01:36:13 +0000 (+1000) Subject: Test all available clang and gcc versions. X-Git-Tag: V_8_9_P1~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=360fb41ef8359619ab90b0d131c914494e55d3dd;p=thirdparty%2Fopenssh-portable.git Test all available clang and gcc versions. --- diff --git a/.github/configs b/.github/configs index 12578c067..01764aaaa 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 107c049c4..d9e4a906f 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 152ddaa4f..b6cd34416 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 }