Add tcmalloc test target.

This commit is contained in:
Darren Tucker 2021-10-12 22:55:51 +11:00
parent 002d65b0a3
commit d4b38144c0
3 changed files with 8 additions and 1 deletions

3
.github/configs vendored
View File

@ -40,6 +40,9 @@ case "$config" in
hardenedmalloc)
CONFIGFLAGS="--with-ldflags=-lhardened_malloc"
;;
tcmalloc)
CONFIGFLAGS="--with-ldflags=-ltcmalloc"
;;
kerberos5)
CONFIGFLAGS="--with-kerberos5"
;;

5
.github/setup_ci.sh vendored
View File

@ -50,7 +50,10 @@ for TARGET in $TARGETS; do
;;
hardenedmalloc)
INSTALL_HARDENED_MALLOC=yes
;;
;;
tcmalloc)
PACKAGES="$PACKAGES libgoogle-perftools-dev"
;;
openssl-noec)
INSTALL_OPENSSL=OpenSSL_1_1_1k
SSLCONFOPTS="no-ec"

View File

@ -37,6 +37,7 @@ jobs:
- { os: ubuntu-20.04, configs: pam }
- { os: ubuntu-20.04, configs: kitchensink }
- { os: ubuntu-20.04, configs: hardenedmalloc }
- { os: ubuntu-20.04, configs: tcmalloc }
- { os: ubuntu-latest, configs: libressl-master }
- { os: ubuntu-latest, configs: libressl-2.2.9 }
- { os: ubuntu-latest, configs: libressl-2.8.3 }