Skip to content

Commit

Permalink
CI/CD: add valgrind test
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 14, 2022
1 parent cc55963 commit 2678d20
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ build:sanitized_memory:

test:default:
stage: test

needs: ["build:default"]

script:
- cd build
- ctest -V
Expand All @@ -67,7 +69,9 @@ test:default:

test:sanitized:
stage: test

needs: ["build:sanitized"]

script:
- cd build-sanitized
- ctest -V
Expand All @@ -77,10 +81,24 @@ test:sanitized:

test:sanitized_memory:
stage: test

needs: ["build:sanitized_memory"]

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

test:valgrind:
stage: test

needs: ["build:default"]

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

0 comments on commit 2678d20

Please sign in to comment.