summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69bf0b4..bdab08c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ build:
script:
- mkdir build
- cd build
- - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON
+ - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DVALGRIND=ON
- make -j4
artifacts:
paths:
@@ -32,9 +32,7 @@ test:
valgrind:
stage: test
script:
- - valgrind build/tools/hscript-validate/hscript-validate tests/fixtures/0001-basic.installfile
- - valgrind build/tools/hscript-simulate/hscript-simulate tests/fixtures/0001-basic.installfile
- - exit 0
+ - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -L Valgrind
pages:
stage: deploy