From cccf133f55959e1413f3fe10d338ebfdb23da04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 4 Mar 2022 21:04:16 +0100 Subject: [PATCH] ci: Increase warnlevel from 1 to 2 This will hopefully catch more things than -Wall. Part-of: --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d18a75a7..e0231c2dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -214,7 +214,15 @@ check-code-style: - .fdo.distribution-image@fedora stage: build script: - - meson . build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr + - meson . build + --prefix /usr + --werror + --fatal-meson-warnings + --warnlevel 2 + -Dbuildtype=debugoptimized + -Db_coverage=true + -Degl_device=true + -Dwayland_eglstream=true - meson compile -C build - meson install -C build artifacts: