Commit 89cab502 authored by Nikos Mavrogiannopoulos's avatar Nikos Mavrogiannopoulos Committed by Niels Möller

.gitlab-ci.yml: enhance with builds using asan and ubsan

This allows running the test suite under address sanitizer and undefined
sanitizer.
parent 45a19a4b
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment