Skip to content

Commit

Permalink
CI/CD: add sanitized and valgrind tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 15, 2022
1 parent 1fbb42c commit c33de7c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,42 @@ test:default:
script:
- cd build
- ctest -V
artifacts:
paths:
- build/

test:sanitized:
stage: test

needs: ["build:sanitized"]

script:
- cd build-sanitized
- ctest -V
artifacts:
paths:
- build-sanitized/

test:sanitized_memory:
stage: test

needs: ["build:sanitized_memory"]

script:
- cd build-sanitized-memory
- ctest -V
artifacts:
paths:
- build-sanitized-memory/

test:valgrind:
stage: test

needs: ["build:default"]

script:
- cd build
- ctest -T memcheck -V
artifacts:
paths:
- build/

0 comments on commit c33de7c

Please sign in to comment.