[pacman-dev] [PATCH] Convert gitlab valgrind runner to meson

Allan McRae allan at archlinux.org
Tue May 5 02:02:12 UTC 2020


Turns out environmental variables do get passed through fakechroot!

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 .gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4961352e..a53d60cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,11 +62,10 @@ arch-clang:
 arch-valgrind:
   extends: .arch-test
   script:
-    - pacman -Syu --needed --noconfirm autoconf-archive valgrind
-    - autoreconf -i
-    - ./configure --enable-warningflags --disable-doc
-    - make
-    - fakechroot make PY_LOG_FLAGS=--valgrind check
+    - pacman -Syu --needed --noconfirm valgrind
+    - meson build
+    - ninja -C build
+    - PACTEST_VALGRIND=1 fakechroot meson test -C build
 
 arch-nettle:
   extends: .arch-test
-- 
2.25.1


More information about the pacman-dev mailing list