summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
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