diff --git a/.github/configs b/.github/configs index d87a159ed..0a1480d5e 100755 --- a/.github/configs +++ b/.github/configs @@ -40,6 +40,9 @@ case "$config" in hardenedmalloc) CONFIGFLAGS="--with-ldflags=-lhardened_malloc" ;; + tcmalloc) + CONFIGFLAGS="--with-ldflags=-ltcmalloc" + ;; kerberos5) CONFIGFLAGS="--with-kerberos5" ;; diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh index df4bd97f1..c80bd38d4 100755 --- a/.github/setup_ci.sh +++ b/.github/setup_ci.sh @@ -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" diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3ea466a7a..530922f80 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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 }