Test all available clang and gcc versions.

This commit is contained in:
Darren Tucker 2021-09-29 11:36:13 +10:00
parent 4fb49899d7
commit 360fb41ef8
3 changed files with 16 additions and 0 deletions

3
.github/configs vendored
View File

@ -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"

3
.github/setup_ci.sh vendored
View File

@ -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"

View 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 }