[igt-dev] [PATCH i-g-t] ci: build with Clang

Simon Ser simon.ser at intel.com
Wed Apr 24 16:15:26 UTC 2019


This adds a build step with Clang on Fedora. Hopefully this can help keeping
Clang builds healthy.

Signed-off-by: Simon Ser <simon.ser at intel.com>
---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae8cbb67..e7d31376 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,6 +47,14 @@ build:tests-fedora-oldest-meson:
     - ninja -C build
     - ninja -C build igt-gpu-tools-doc
 
+build:tests-fedora-clang:
+  stage: build
+  script:
+    - dnf install -y clang
+    - export CC=clang
+    - meson $MESON_OPTIONS build
+    - ninja -C build
+
 build:tests-debian-meson:
   image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
   stage: build
-- 
2.21.0



More information about the igt-dev mailing list