summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-03-02 11:52:52 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2020-03-02 12:20:23 +0100
commit2a7b66846ef419a4da4ed60f863449f3498a1cc5 (patch)
treeb638b35cf6c294f2acd926472c2b2fb2d3609d40
parentc005c7a0f71fd14ea96e5906130f83dc718f52aa (diff)
downloadlibxml2-2a7b66846ef419a4da4ed60f863449f3498a1cc5.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 71f66e0b..de5f4bc6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,8 @@ clang:asan:
CONFIG: "--without-python"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined,unsigned-integer-overflow -fno-sanitize-recover=all -Wno-error=cast-align"
+ # LeakSanitizer requires SYS_CAP_PTRACE
+ ASAN_OPTIONS: "detect_leaks=0"
UBSAN_OPTIONS: "print_stacktrace=1"
clang:msan: