[Spice-devel] [PATCH spice] ci: Add valgrind check

Pavel Grunt pgrunt at redhat.com
Wed Mar 22 14:06:05 UTC 2017


---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c5e37c3..c54516f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,14 @@ statistics:
   - make
   - make -C server check || (cat server/tests/test-suite.log && exit 1)
 
+check-valgrind:
+  script:
+  - dnf debuginfo-install spice-server -y
+  - dnf install valgrind -y
+  - ./autogen.sh --enable-valgrind
+  - make
+  - make check-valgrind || (cat server/tests/test-suite-memcheck.log && exit 1)
+
 syntax-check:
   script:
   - ./autogen.sh
-- 
2.12.0



More information about the Spice-devel mailing list