Browse Source

Do sanitize run on CI in a single job

zrythm_meson
David Robillard 2 years ago
parent
commit
31d5e871cb
  1. 10
      .gitlab-ci.yml

10
.gitlab-ci.yml

@ -118,7 +118,9 @@ test:x64_static: @@ -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: @@ -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

Loading…
Cancel
Save