Mesa (master): gitlab-ci: add clang build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Mar 19 13:22:10 UTC 2019
Module: Mesa
Branch: master
Commit: 43b6dd05f746f3c946bc6d259c69fad744989c89
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43b6dd05f746f3c946bc6d259c69fad744989c89
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Tue Mar 19 07:59:07 2019 +0000
gitlab-ci: add clang build
`clang` has a different set of warnings and errors than `gcc`, so it's
useful to do at least a generic pass over Mesa with it.
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
.gitlab-ci.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9bcd3b0518..87f6c19f31b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -208,6 +208,15 @@ meson-glvnd:
-D gallium-nine=false
-D gallium-opencl=disabled
+meson-clang:
+ extends: .meson-build
+ variables:
+ UNWIND: "true"
+ DRI_DRIVERS: "auto"
+ GALLIUM_DRIVERS: "auto"
+ CC: clang-7
+ CXX: clang++-7
+
# NOTE: Building SWR is 2x (yes two) times slower than all the other
# gallium drivers combined.
# Start this early so that it doesn't hunder the run time.
More information about the mesa-commit
mailing list