aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-13 15:23:15 +0100
committerDavid Robillard <d@drobilla.net>2020-11-13 15:23:15 +0100
commit31d5e871cb11a90c64dd2c3b7dc65c06c1b8eef9 (patch)
tree7c8f5c2e16309af57c522a240d61c46aeb50b14e
parent18949858d9710196c64d484b8cc621c4dc78adc2 (diff)
downloadserd-31d5e871cb11a90c64dd2c3b7dc65c06c1b8eef9.tar.gz
serd-31d5e871cb11a90c64dd2c3b7dc65c06c1b8eef9.tar.bz2
serd-31d5e871cb11a90c64dd2c3b7dc65c06c1b8eef9.zip
Do sanitize run on CI in a single job
-rw-r--r--.gitlab-ci.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 937f5905..1de1081b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -118,7 +118,9 @@ test:x64_static:
x64_sanitize:
<<: *build_definition
image: lv2plugin/debian-x64-clang
- script: python ./waf configure build -ST --werror --no-coverage
+ script:
+ - python ./waf configure build -ST --werror --no-coverage
+ - python ./waf test
variables:
CC: "clang"
CFLAGS: "-fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability"
@@ -126,12 +128,6 @@ x64_sanitize:
CXXFLAGS: "-fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability"
LINKFLAGS: "-fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability"
-test:x64_sanitize:
- <<: *test_definition
- image: lv2plugin/debian-x64-clang
- script: python ./waf test
- needs: ["x64_sanitize"]
-
mingw32_dbg:
<<: *build_definition