From: Eric Anholt Date: Tue, 17 Dec 2019 05:23:02 +0000 (-0800) Subject: ci: Enable -Werror on meson-vulkan and meson-testing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c7c021ffcaa93eaac4f58bf23177b650354de96;p=mesa.git ci: Enable -Werror on meson-vulkan and meson-testing. 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: --- 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