ci: Pull common zink frontend rules to a shared rule list.
This drops the mesa/gallium lists from some build rules, since zink common rules brings them in already. If we do more driver common rules, we might end up with those core lists appearing in the yaml multiple times, but that seems like a small price to pay for not being able to forget some. Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17287>
This commit is contained in:
@@ -588,8 +588,7 @@
|
||||
when: on_success
|
||||
- when: never
|
||||
|
||||
.zink-rules:
|
||||
stage: layered-backends
|
||||
.zink-common-rules:
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
@@ -599,50 +598,40 @@
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*lavapipe_file_list
|
||||
when: on_success
|
||||
- changes: &zink_file_list
|
||||
- src/gallium/drivers/zink/**/*
|
||||
when: on_success
|
||||
|
||||
.zink-rules:
|
||||
stage: layered-backends
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*lavapipe_file_list
|
||||
when: on_success
|
||||
- when: never
|
||||
|
||||
.zink-anv-rules:
|
||||
stage: layered-backends
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
*mesa_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*vulkan_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
- src/intel/**/*
|
||||
when: on_success
|
||||
- changes: &zink_file_list
|
||||
- src/gallium/drivers/zink/**/*
|
||||
when: on_success
|
||||
- when: never
|
||||
|
||||
.zink-turnip-rules:
|
||||
stage: layered-backends
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
*mesa_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*vulkan_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*zink_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
- src/freedreno/**/*
|
||||
when: on_success
|
||||
@@ -655,12 +644,7 @@
|
||||
- if: '$MICROSOFT_FARM == "offline"'
|
||||
when: never
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
*mesa_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*softpipe_file_list
|
||||
when: on_success
|
||||
@@ -680,9 +664,6 @@
|
||||
- changes:
|
||||
- src/microsoft/**/*
|
||||
when: on_success
|
||||
- changes:
|
||||
*zink_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*radv_file_list
|
||||
when: on_success
|
||||
@@ -763,12 +744,7 @@
|
||||
.ppc64el-rules:
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
*mesa_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*softpipe_file_list
|
||||
when: on_success
|
||||
@@ -784,9 +760,6 @@
|
||||
- changes:
|
||||
*radeonsi_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*zink_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*virgl_file_list
|
||||
when: on_success
|
||||
@@ -799,12 +772,7 @@
|
||||
.s390x-rules:
|
||||
rules:
|
||||
- !reference [.no_scheduled_pipelines-rules, rules]
|
||||
- changes:
|
||||
*mesa_core_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*gallium_core_file_list
|
||||
when: on_success
|
||||
- !reference [.zink-common-rules, rules]
|
||||
- changes:
|
||||
*softpipe_file_list
|
||||
when: on_success
|
||||
@@ -814,7 +782,4 @@
|
||||
- changes:
|
||||
*lavapipe_file_list
|
||||
when: on_success
|
||||
- changes:
|
||||
*zink_file_list
|
||||
when: on_success
|
||||
- when: never
|
||||
|
||||
Reference in New Issue
Block a user