From 2fcc2deb430f215a470d26de7af3fe0d9e105ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 4 Dec 2019 14:28:12 +0100 Subject: [PATCH] ci: Use --werror by default in meson at build time --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74d4f46..7c4a05a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,14 +12,14 @@ variables: .build_one_driver_template: &build_one_driver script: # Build with a driver that doesn't need imaging, or nss - - meson -Ddrivers=$driver . _build + - meson --werror -Ddrivers=$driver . _build - ninja -C _build - rm -rf _build/ .build_template: &build script: # And build with everything - - meson -Ddrivers=all . _build + - meson --werror -Ddrivers=all . _build - ninja -C _build - ninja -C _build install @@ -38,7 +38,7 @@ build: test: stage: test script: - - meson -Ddrivers=all . _build + - meson --werror -Ddrivers=all . _build - ninja -C _build - meson test -C _build --verbose --no-stdsplit