[pacman-dev] [PATCH] Gitlab CI: add --werror to debug build

Allan McRae allan at archlinux.org
Sun Sep 5 01:15:48 UTC 2021


Catch build warnings in the CI.

Signed-off-by: Allan McRae <allan at archlinux.org>
---

It turns out what I though was a CI failure due to a build warning
was really due to configurations being play with by devops... 

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 668b97ba..186ad3dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ arch:
 arch-debug:
   extends: .arch-test
   script:
-    - meson --buildtype=debug build
+    - meson --buildtype=debug --werror build
     - ninja -C build
     - fakechroot meson test -C build
 
-- 
2.33.0



More information about the pacman-dev mailing list