Module: Mesa
Branch: main
Commit: ebaede788e05ea3a22bfd4f054c85053247de9ff
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebaede788e05ea3a22bfd4f054c85053247de9ff

Author: Eric Engestrom <[email protected]>
Date:   Fri Dec  1 23:09:05 2023 +0000

amd/ci: limit radv jobs to radv + aco files changes

Otherwise, any change in src/amd/ would always trigger all the radv
jobs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26460>

---

 src/amd/ci/gitlab-ci-inc.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/amd/ci/gitlab-ci-inc.yml b/src/amd/ci/gitlab-ci-inc.yml
index bafde5aa68c..0d162547181 100644
--- a/src/amd/ci/gitlab-ci-inc.yml
+++ b/src/amd/ci/gitlab-ci-inc.yml
@@ -27,8 +27,12 @@
   stage: amd
   rules:
     - !reference [.vulkan-rules, rules]
+    - changes:
+        *amd_common_file_list
+      when: on_success
     - changes: &radv_file_list
-        - src/amd/**/*
+        - src/amd/compiler/**/*
+        - src/amd/vulkan/**/*
         - src/vulkan/**/*
       when: on_success
 
@@ -50,6 +54,9 @@
   rules:
     - !reference [.valve-farm-manual-rules, rules]
     - !reference [.vulkan-manual-rules, rules]
+    - changes:
+        *amd_common_file_list
+      when: on_success
     - changes:
         *radv_file_list
       when: manual

Reply via email to