summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-10-12 22:55:51 +1100
committerDarren Tucker <dtucker@dtucker.net>2021-10-12 23:01:40 +1100
commitd4b38144c02f3faa5271e5fb35df93507e06f1b4 (patch)
tree272ba8c3eda21624209d358f2f77c587215d5e91
parent002d65b0a30063c6e49bf8a53e709d8d5a0d45c1 (diff)
Add tcmalloc test target.
-rwxr-xr-x.github/configs3
-rwxr-xr-x.github/setup_ci.sh5
-rw-r--r--.github/workflows/c-cpp.yml1
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/configs b/.github/configs
index d87a159e..0a1480d5 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 df4bd97f..c80bd38d 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 3ea466a7..530922f8 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 }