Skip to content

Commit

Permalink
Add sanitized build
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 14, 2022
1 parent f19e463 commit 80cf685
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 @@ -30,4 +30,15 @@ build:default:

artifacts:
paths:
- build/
- build/

build:sanitized:
stage: build

script:
- mkdir build-sanitized
- cmake -S . -B build-sanitized/ -DSYSTEMD_IFINDEX=1 -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS=\"-fsanitize=address,undefined\" -DENABLE_SANITIZER=ON
- cmake --build build-sanitized/
artifacts:
paths:
- build-sanitized/

0 comments on commit 80cf685

Please sign in to comment.