Add test against Valgrind.

This commit is contained in:
Darren Tucker 2021-02-19 10:16:56 +11:00
parent e6528d91f1
commit 41d232e226
3 changed files with 7 additions and 0 deletions

3
.github/configs vendored
View File

@ -55,6 +55,9 @@ case "$config" in
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET=t-exec
;;
valgrind)
TEST_TARGET=USE_VALGRIND=1
;;
*)
echo "Unknown configuration $config"
exit 1

3
.github/setup_ci.sh vendored
View File

@ -53,6 +53,9 @@ for TARGET in $TARGETS; do
libressl-head)
INSTALL_LIBRESSL_HEAD=yes
;;
valgrind)
PACKAGES="$PACKAGES valgrind"
;;
*) echo "Invalid option '${TARGET}'"
exit 1
;;

View File

@ -20,6 +20,7 @@ jobs:
- { os: ubuntu-20.04, configs: hardenedmalloc }
- { os: ubuntu-20.04, configs: libressl-head }
- { os: ubuntu-20.04, configs: openssl-head }
- { os: ubuntu-20.04, configs: valgrind }
- { os: ubuntu-18.04, configs: kerberos5 }
- { os: ubuntu-18.04, configs: libedit }
- { os: ubuntu-18.04, configs: sk }