diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c55830b..e0407c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,13 @@ fedora: arch: image: cppit/jucipp:arch <<: *compile +debian-testing: + image: cppit/jucipp:debian-testing + <<: *compile +debian: + image: cppit/jucipp:debian + <<: *compile + static-analysis: image: cppit/jucipp:arch stage: test @@ -29,6 +36,7 @@ static-analysis: - mkdir build && cd build - scan-build cmake .. - scan-build --status-bugs make -j$(nproc) + thread-safety-analysis: image: cppit/jucipp:arch stage: test @@ -36,12 +44,15 @@ thread-safety-analysis: - mkdir build && cd build - CXX=clang++ CXXFLAGS="-Werror -Wno-deprecated-declarations" cmake .. - make -j$(nproc) -debian-testing: - image: cppit/jucipp:debian-testing - <<: *compile -debian: - image: cppit/jucipp:debian - <<: *compile + +address-sanitizer: + image: cppit/jucipp:arch + stage: test + script: + - mkdir build && cd build + - CXXFLAGS="-fsanitize=address" cmake -DBUILD_TESTING=1 .. + - make -j$(nproc) + - broadwayd & CTEST_OUTPUT_ON_FAILURE=1 LSAN_OPTIONS=detect_leaks=0 make test Clean appveyor cache: stage: chore