diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47c96038..406dcf3d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,6 +115,24 @@ test:x64_static: needs: ["x64_static"] +x64_sanitize: + <<: *build_definition + image: lv2plugin/debian-x64-clang + script: python ./waf configure build -ST --werror + 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" + CXX: "clang++" + 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 image: lv2plugin/debian-mingw32 |