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

Message ID 20210905011548.831536-1-allan@archlinux.org
State Accepted, archived
Headers show
Series [pacman-dev] Gitlab CI: add --werror to debug build | expand

Commit Message

Allan McRae Sept. 5, 2021, 1:15 a.m. UTC
Catch build warnings in the CI.

Signed-off-by: Allan McRae <allan@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(-)

Patch

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