Skip to content

Commit

Permalink
Add sanitized memory build
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 14, 2022
1 parent 80cf685 commit fdf7c62
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,15 @@ build:sanitized:
- cmake --build build-sanitized/
artifacts:
paths:
- build-sanitized/
- 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/

0 comments on commit fdf7c62

Please sign in to comment.