From 89cab502fca9d74031bd264b2eff241a12985466 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 29 Feb 2016 13:08:36 +0100 Subject: .gitlab-ci.yml: enhance with builds using asan and ubsan This allows running the test suite under address sanitizer and undefined sanitizer. --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99b241e6..8d44cbb7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,3 +17,19 @@ Build and Check (x86): - x86 except: - tags +Build and Check with ubsan: + script: + - ./.bootstrap && + CXXFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -O2" CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -O2" ./configure + --disable-documentation && make -j4 && make check -j4 + tags: + - ubsan + except: + - tags +Build and Check with asan: + script: + - ./.bootstrap && + - CXXFLAGS="-fsanitize=address -g -O2" CFLAGS="-fsanitize=address -g -O2" ./configure --disable-documentation && + make -j4 && make check -j4 + except: + - tags -- cgit v1.2.1