diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-17 19:24:29 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-17 19:46:23 +1000 |
commit | 9fe2dfc8efe7a55bcf4bc4cc4594be22ae960b01 (patch) | |
tree | 17891780f49cca92c7c740310139c9c7676d78bb /.gitlab-ci.yml | |
parent | 596ebd7acccf9d1e568ce6c324aa514c52796e62 (diff) | |
download | libevdev-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.yml | 9 |
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 |