ci: debian-build-testing, build only the LTO variant
authorDavid Heidelberg <david.heidelberg@collabora.com>
Tue, 10 Jan 2023 19:44:19 +0000 (20:44 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Jan 2023 13:22:35 +0000 (13:22 +0000)
The chance we'll miss anything from non-LTO is minimal, and having
both builds in one is too slow (usually the latest job to finish).

Acked-by: Martin Roukala <martin.roukala@mupuf.org>
Acked-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20623>

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

index ad197f5..a9e7cf4 100644 (file)
@@ -183,13 +183,13 @@ debian-build-testing:
       -D spirv-to-dxil=true
       -D osmesa=true
       -D tools=drm-shim,etnaviv,freedreno,glsl,intel,intel-ui,nir,nouveau,lima,panfrost,asahi
+      -D b_lto=true
     LLVM_VERSION: 13
   script:
     - .gitlab-ci/lava/lava-pytest.sh
     - .gitlab-ci/run-shellcheck.sh
     - .gitlab-ci/run-yamllint.sh
     - .gitlab-ci/meson/build.sh
-    - EXTRA_OPTION="${EXTRA_OPTION} -D b_lto=true" .gitlab-ci/meson/build.sh
     - .gitlab-ci/run-shader-db.sh
 
 # Test a release build with -Werror so new warnings don't sneak in.