mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gitlab-ci: Use all_paths in .test-manual rules
Without this, the .test-manual jobs could end up as 'when: manual' when the jobs they depend on were 'when: never', which was flagged as invalid YAML, preventing the pipeline from being created. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4522>
This commit is contained in:
parent
5e6267b20b
commit
6a8e5dde66
1 changed files with 5 additions and 8 deletions
|
|
@ -720,14 +720,11 @@ softpipe-gles31:
|
|||
# to).
|
||||
.test-manual:
|
||||
rules:
|
||||
# Never test in the main project.
|
||||
- if: '$CI_PROJECT_PATH == "mesa/mesa"'
|
||||
when: never
|
||||
# Never test in merge requests.
|
||||
- if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
|
||||
when: never
|
||||
# Otherwise, allow testing manually for personal branches.
|
||||
- when: manual
|
||||
- if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
|
||||
changes:
|
||||
*all_paths
|
||||
when: manual
|
||||
- when: never
|
||||
|
||||
arm64_a630_gles2:
|
||||
extends:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue