ci: hook up a valgrind run

This commit is contained in:
Peter Hutterer 2021-07-07 12:55:03 +10:00 committed by Wim Taymans
parent 1bd43e8282
commit de394866e3

View file

@ -22,7 +22,7 @@ include:
.fedora: .fedora:
variables: variables:
# Update this tag when you want to trigger a rebuild # Update this tag when you want to trigger a rebuild
FDO_DISTRIBUTION_TAG: '2021-06-02.0' FDO_DISTRIBUTION_TAG: '2021-07-06.0'
FDO_DISTRIBUTION_VERSION: '33' FDO_DISTRIBUTION_VERSION: '33'
FDO_DISTRIBUTION_PACKAGES: >- FDO_DISTRIBUTION_PACKAGES: >-
alsa-lib-devel alsa-lib-devel
@ -50,6 +50,7 @@ include:
vulkan-loader-devel vulkan-loader-devel
webrtc-audio-processing-devel webrtc-audio-processing-devel
which which
valgrind
xmltoman xmltoman
.ubuntu: .ubuntu:
@ -212,6 +213,14 @@ build_with_custom_options:
- ninja -C "$BUILD_DIR" - ninja -C "$BUILD_DIR"
- ninja -C "$BUILD_DIR" test - ninja -C "$BUILD_DIR" test
valgrind:
extends:
- .build_on_fedora
script:
- echo "Building with $MESON_OPTIONS"
- meson "$BUILD_DIR" . --prefix="$PREFIX" $MESON_OPTIONS
- meson test -C "$BUILD_DIR" --setup=valgrind
build_with_coverity: build_with_coverity:
extends: extends:
- .fedora - .fedora