From fdf7c62cd5deb8eee745ee6a6aff273e071add4a Mon Sep 17 00:00:00 2001 From: Mateo Cindric Date: Wed, 14 Dec 2022 17:28:51 +0000 Subject: [PATCH] Add sanitized memory build --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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