[libcamera-ci] [PATCH] Enable clang build on Debian trixie

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Dec 15 22:22:54 CET 2024


Debian stable ships a relatively old clang version. Add a build test
with the most recent available clang version on trixie.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
Successful CI run for the libcamera master branch:
https://gitlab.freedesktop.org/pinchartl/libcamera/-/pipelines/1330345
---
 gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index c78235ec1e52d571..06ab27dc0af0d9df 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -224,6 +224,13 @@ build-full:debian:13:
       - ARCH: amd64
         CC: gcc-14
         CXX: g++-14
+      - ARCH: amd64
+        CC: clang
+        CXX: clang++
+        MESON_OPTIONS: >-
+          ${MESON_ALL_OPTIONS}
+          ${MESON_CLANG_OPTIONS}
+          -D qcam=disabled
 
 # Build each commit in the branch individually to detect compilation breakages.
 build-history:
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list