ci: run shader-db only when one of the drivers it tests is modified

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31708>
This commit is contained in:
Eric Engestrom 2024-10-17 10:24:24 +02:00 committed by Marge Bot
parent a41c4cc1fd
commit 0724b00dad

View File

@ -221,7 +221,20 @@ shader-db:
stage: code-validation
extends:
- .use-debian/x86_64_build
- .container+build-rules
rules:
- !reference [.core-rules, rules]
# Keep this list in sync with the drivers tested in run-shader-db.sh
- !reference [.freedreno-common-rules, rules]
- !reference [.intel-common-rules, rules]
- !reference [.lima-rules, rules]
- !reference [.v3d-rules, rules]
- !reference [.vc4-rules, rules]
- !reference [.nouveau-rules, rules]
- !reference [.r300-rules, rules]
# Also run if this job's own config or script changes
- changes:
- .gitlab-ci/build/gitlab-ci.yml
- .gitlab-ci/run-shader-db.sh
needs:
- debian-build-testing
variables: