summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-05-04 15:21:11 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2020-05-04 15:21:11 +0200
commitcb3ccdd547cbd404019852f05b2b202edfb9a1ef (patch)
tree0e239c3ca8e5f5565c814bef7d333145e987bdb7
parent356246a928f48c1f1d4ac81904bf5194be0b9e97 (diff)
downloadlibxslt-cb3ccdd547cbd404019852f05b2b202edfb9a1ef.tar.gz
Disable LeakSanitizer
The GitLab runner doesn't run in privileged mode anymore [1], at least for projects outside the GNOME group. Disable LeakSanitizer for now as it needs the ptrace capability. [1] https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/251
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f292e91d..a9fa1425 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,8 @@ clang:asan:
CONFIG: "--without-python"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=all -Wimplicit-int-conversion -Wno-error=cast-align"
+ # LeakSanitizer requires SYS_CAP_PTRACE
+ ASAN_OPTIONS: "detect_leaks=0"
UBSAN_OPTIONS: "print_stacktrace=1"
clang:msan: