gitlab-ci: add rules:changes for RADV
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Mar 2020 16:53:51 +0000 (17:53 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 11 Mar 2020 07:04:05 +0000 (08:04 +0100)
Including mesa_core_file_list is probably not the best but it's
better than nothing.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4117>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4117>

.gitlab-ci.yml
.gitlab-ci/test-source-dep.yml

index 5cc46fba89d2ea695be3d90e5c43e690e8bcc29b..ba4b9c6d40ef6a8832b85ee97ab0191fb5421304 100644 (file)
@@ -708,6 +708,7 @@ arm64_a306_gles2:
 
 # RADV CI
 .test-radv:
+  extends: .radv-rules
   stage: misc-tests
   variables:
     VK_DRIVER: radeon
index a243ea99b6fc76167f216f60d1a88e8167fc797f..12faf0a510a49c69c46c093fe4fec6294acc5343 100644 (file)
       - src/lima/**/*
       when: on_success
     - when: never
+
+.radv-rules:
+  rules:
+    - changes:
+        *mesa_core_file_list
+      when: on_success
+    - changes:
+      - src/amd/**/*
+      - src/vulkan/**/*
+      when: on_success
+    - when: never