diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1bc92893f27d6dd404133686b71c8061e55618c..b394994d84b0137c5fffd364c44b4756ffcaf53c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,9 @@ test:linux: - jobname: linux-leaks image: ubuntu:latest CC: gcc + - jobname: linux-memory-leaks + image: ubuntu:latest + CC: clang - jobname: linux-reftable-leaks image: ubuntu:latest CC: gcc diff --git a/ci/lib.sh b/ci/lib.sh index 930f98d7228166c37c236beb062b14675fb68ef3..32ebab4457f1badf98f0b1325be908e3e1ed671a 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -385,6 +385,9 @@ linux-musl) linux-leaks|linux-reftable-leaks) export SANITIZE=leak ;; +linux-memory-leaks) + export SANITIZE=memory + ;; linux-asan-ubsan) export SANITIZE=address,undefined export NO_SVN_TESTS=LetsSaveSomeTime