ci: Add debian-clang-release build pipeline
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 7 Aug 2022 16:40:31 +0000 (00:40 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 02:49:55 +0000 (02:49 +0000)
As the default build type is debug according to
.gitlab-ci/meson/build.sh, the specified line is:
-D buildtype=${BUILDTYPE:-debug}

So we use release for building optimized version for testing
if the compiler optimization are fine.

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18044>

.gitlab-ci/build/gitlab-ci.yml

index 361d497..99b6a13 100644 (file)
@@ -445,6 +445,11 @@ debian-clang:
     CC: clang
     CXX: clang++
 
+debian-clang-release:
+  extends: debian-clang
+  variables:
+    BUILDTYPE: "release"
+
 windows-vs2019:
   extends:
     - .build-windows