diff options
author | Simon Ser <simon.ser@intel.com> | 2019-04-24 19:15:26 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-05-02 12:37:31 +0300 |
commit | f052e49a43cc9704ea5f240df15dd9d3dfed68ab (patch) | |
tree | 839e5f65c07a3a7cb6b88685bb1120f0150a2d2a /.gitlab-ci.yml | |
parent | 5b7402b7a0ab41b2944a291bf928c595ed36dde7 (diff) |
ci: build with Clang
This adds a build and test step with Clang on Fedora. Hopefully this can
help keeping Clang builds healthy.
Signed-off-by: Simon Ser <simon.ser@intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94f9f162..aee90a27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,6 +47,17 @@ build:tests-fedora-oldest-meson: - ninja -C build - ninja -C build igt-gpu-tools-doc +build:tests-fedora-clang: + stage: build + variables: + CC: clang + script: + - meson $MESON_OPTIONS build + - ninja -C build + artifacts: + paths: + - build + build:tests-debian-meson: image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest stage: build @@ -99,6 +110,14 @@ test:ninja-test: stage: test script: ninja -C build test +test:ninja-test-clang: + dependencies: + - build:tests-fedora-clang + variables: + CC: clang + stage: test + script: ninja -C build test + test:ninja-test-arm64: image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64:latest dependencies: |