ci: Enable -Werror in more clover builds.
authorEric Anholt <eric@anholt.net>
Tue, 17 Nov 2020 20:06:53 +0000 (12:06 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 18 Nov 2020 18:15:02 +0000 (18:15 +0000)
We've slowly been pushing -Werror through the set of CI builds, and it
looks like clover is clean at the moment.  Keep it that way.

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7664>

.gitlab-ci.yml

index 1081793..779dc2d 100644 (file)
@@ -652,6 +652,8 @@ meson-clover-testing:
       -D opencl-spirv=true
     GALLIUM_DRIVERS: "swrast"
     BUILDTYPE: "debugoptimized"
+    EXTRA_OPTION: >
+      -D werror=true
   script:
     - .gitlab-ci/meson-build.sh
     - .gitlab-ci/prepare-artifacts.sh
@@ -887,6 +889,8 @@ meson-clover:
       -D gallium-xa=disabled
       -D gallium-nine=false
       -D gallium-opencl=icd
+    EXTRA_OPTION: >
+      -D werror=true
   script:
     - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
     - LLVM_VERSION=9 .gitlab-ci/meson-build.sh