diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bada1c64..0553a5ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,7 +57,9 @@ build:sanitized_memory: test:default: stage: test + needs: ["build:default"] + script: - cd build - ctest -V @@ -67,7 +69,9 @@ test:default: test:sanitized: stage: test + needs: ["build:sanitized"] + script: - cd build-sanitized - ctest -V @@ -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/ \ No newline at end of file + - build-sanitized-memory/ + +test:valgrind: + stage: test + + needs: ["build:default"] + + script: + - cd build + - ctest -T memcheck -V + artifacts: + paths: + - build/ \ No newline at end of file