gitlab-ci: Add valgrind meson test
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 31 Jul 2019 19:39:35 +0000 (15:39 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 31 Jul 2019 20:09:45 +0000 (16:09 -0400)
.gitlab-ci.yml

index 54a79d2..00cab6d 100644 (file)
@@ -89,6 +89,25 @@ test meson:
     paths:
       - build/meson-logs/
 
+
+test valgrind meson:
+  stage: test
+  image: registry.freedesktop.org/libnice/libnice/centos7/meson-build
+  allow_failure: true
+  dependencies:
+    - build meson
+  except:
+    - schedules
+  script:
+    - ifconfig
+    - source scl_source enable rh-python36 && true
+    - meson test -C build/ --setup valgrind --print-errorlogs
+  artifacts:
+    when: on_failure
+    paths:
+      - build/meson-logs/
+
+
 doc-and-install meson:
   stage: test
   image: registry.freedesktop.org/libnice/libnice/centos7/meson-build