summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-02-17 19:24:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-02-17 19:46:23 +1000
commit9fe2dfc8efe7a55bcf4bc4cc4594be22ae960b01 (patch)
tree17891780f49cca92c7c740310139c9c7676d78bb /.gitlab-ci.yml
parent596ebd7acccf9d1e568ce6c324aa514c52796e62 (diff)
downloadlibevdev-9fe2dfc8efe7a55bcf4bc4cc4594be22ae960b01.tar.gz
gitlab CI: run the test suite through valgrind
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ce3e95..4652abe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,7 +80,7 @@ variables:
artifacts:
paths:
- _build/test/test-suite.log
- - builddir/meson-logs/testlog-*.txt
+ - builddir/meson-logs/testlog*.txt
expire_in: 1 week
when: on_failure
reports:
@@ -104,6 +104,9 @@ variables:
script:
- meson builddir $MESON_ARGS
- ninja -C builddir $NINJA_ARGS
+ - if ! [[ -z '$MESON_TEST_ARGS' ]]; then
+ meson test -C builddir $MESON_TEST_ARGS;
+ fi
#################################################################
# #
@@ -751,6 +754,10 @@ fedora:31@enable-gcov-meson:
variables:
MESON_ARGS: '-Dcoverity=true'
+fedora:31@valgrind-meson:
+ extends: .fedora-custom-build@meson-template
+ variables:
+ MESON_TEST_ARGS: '--setup=valgrind'
fedora:31@meson-from-tarball:
stage: tarballs