gitlab-ci: use UBSAN=1 instead of CFLAGS
and switch Integration_Test_UBSan to debian:testing, as Build_UBSan and
Unit_Test_UBSan also use debian:testing
@@ -55,7 +55,7 @@ Build_UBSan:
image: debian:testing
stage: build
script:
- - CFLAGS="-O2 -fsanitize=undefined -fsanitize=address" make all
+ - UBSAN=1 make all
artifacts:
paths:
- bart
@@ -126,7 +126,7 @@ Unit_Test_UBSan:
image: debian:testing
stage: test1
script:
- - AUTOCLEAN=0 CFLAGS="-O2 -fsanitize=undefined -fsanitize=address" make utest
+ - AUTOCLEAN=0 UBSAN=1 make utest
needs: [Build_UBSan]
dependencies:
- Build_UBSan
@@ -200,10 +200,10 @@ Integration_Test_Clang:
Integration_Test_UBSan:
- image: debian:stable
+ image: debian:testing
stage: test2
script:
- - AUTOCLEAN=0 CFLAGS="-O2 -fsanitize=undefined -fsanitize=address" make test
+ - AUTOCLEAN=0 UBSAN=1 make test
needs: [Build_UBSan]
dependencies:
- Build_UBSan
