ci/build: move debian-clang-release to priority build-for-tests stage

`shader-db` uses its output, and with its 8-10min runtime it can't be
ignored and should be counted with the other test jobs.

This makes the critical build jobs a bit slower but makes the overall
pipeline shorter when the test jobs respect the 15min deadline.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31327>
This commit is contained in:
Eric Engestrom 2024-09-23 19:18:26 +02:00 committed by Marge Bot
parent 25b09b9c5a
commit 480793be98

View file

@ -80,6 +80,8 @@
optional: true
- job: windows-msvc
optional: true
- job: debian-clang-release
optional: true
- job: python-test
optional: true
@ -622,7 +624,11 @@ debian-clang:
debian-clang-release:
extends: debian-clang
# `needs:` inherited from debian-clang
stage: build-for-tests
# `needs:` inherited from debian-clang, so we have to override it back to
# its original value
needs:
- !reference [.meson-build, needs]
variables:
BUILDTYPE: "release"
DRI_LOADERS: >
@ -760,7 +766,7 @@ debian-ppc64el:
# This job tests our Python scripts, and also emits our scripts into
# artifacts, so they can be reused for job submission to hardware devices.
python-test:
stage: build-for-tests
stage: build-for-tests
extends:
- .use-debian/x86_64_pyutils
- .build-common