From 3c7c021ffcaa93eaac4f58bf23177b650354de96 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 16 Dec 2019 21:23:02 -0800 Subject: [PATCH] ci: Enable -Werror on meson-vulkan and meson-testing. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I want to make sure that I don't introduce warnings in turnip where we have active work going on, and I also want to make sure that the drivers we care about testing are warnings-clean. As with the previous -Werror change, this is for CI only and doesn't affect end-user builds. Reviewed-by: Michel Dänzer Reviewed-by: Eric Engestrom Reviewed-by: Samuel Pitoiset Tested-by: Marge Bot Part-of: --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e83d68bb1ef..94fa8830169 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -261,6 +261,8 @@ meson-testing: GALLIUM_DRIVERS: "swrast" VULKAN_DRIVERS: amd BUILDTYPE: "debugoptimized" + EXTRA_OPTION: > + -D werror=true script: - .gitlab-ci/meson-build.sh - .gitlab-ci/prepare-artifacts.sh @@ -461,6 +463,7 @@ meson-vulkan: VULKAN_DRIVERS: intel,amd,freedreno EXTRA_OPTION: > -D vulkan-overlay-layer=true + -D werror=true # While the main point of this build is testing the i386 cross build, # we also use this one to test some other options that are exclusive -- 2.30.2