diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a20e2eeb..2671ffcf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,4 +41,15 @@ build:sanitized: - cmake --build build-sanitized/ artifacts: paths: - - build-sanitized/ \ No newline at end of file + - build-sanitized/ + +build:sanitized_memory: + stage: build + + script: + - mkdir build-sanitized-memory + - cmake -S . -B build-sanitized-memory/ -DSYSTEMD_IFINDEX=1 -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS=\"-fsanitize=memory\" -DENABLE_SANITIZER=ON + - cmake --build build-sanitized-memory/ + artifacts: + paths: + - build-sanitized-memory/ \ No newline at end of file