blob: 71f546951d3c2f0dd55adf7b331da9b32a7ca9a1 [file] [log] [blame]
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +01001# This file list source dependencies to avoid creating/running jobs
2# those outcome cannot be changed by the modifications from a branch.
3
4# Mesa core source file dependencies
5# ----------------------------------
6.mesa-rules:
7 rules:
8 - changes: &mesa_core_file_list
9 - .gitlab-ci.yml
10 - .gitlab-ci/**/*
11 - include/**/*
12 - meson.build
13 - SConstruct
14 - src/*
15 - src/compiler/**/*
16 - src/drm-shim/**/*
17 - src/egl/**/*
18 - src/gbm/**/*
19 - src/glx/**/*
20 - src/gtest/**/*
21 - src/hgl/**/*
22 - src/include/**/*
23 - src/loader/**/*
24 - src/mapi/**/*
25 - src/mesa/**/*
26 - src/util/**/*
27
28# Gallium core source file dependencies
29# -------------------------------------
30.gallium-rules:
31 rules:
32 - changes: &gallium_core_file_list
33 - src/gallium/*
34 - src/gallium/auxiliary/**/*
35 - src/gallium/drivers/*
36 - src/gallium/include/**/*
37 - src/gallium/state_trackers/**/*
38 - src/gallium/targets/**/*
39 - src/gallium/tests/**/*
40 - src/gallium/winsys/*
41
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020042# Generic rule to not run the job during scheduled pipelines
43# ----------------------------------------------------------
44.scheduled_pipelines-rules:
45 rules: &ignore_scheduled_pipelines
46 if: '$CI_PIPELINE_SOURCE == "schedule"'
47 when: never
48
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +010049.softpipe-rules:
50 stage: softpipe
51 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020052 - *ignore_scheduled_pipelines
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +010053 - changes:
54 *mesa_core_file_list
55 when: on_success
56 - changes:
57 *gallium_core_file_list
58 when: on_success
59 - changes:
60 - src/gallium/drivers/softpipe/**/*
61 - src/gallium/winsys/sw/**/*
62 when: on_success
63 - when: never
64
65.llvmpipe-rules:
66 stage: llvmpipe
67 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020068 - *ignore_scheduled_pipelines
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +010069 - changes:
70 *mesa_core_file_list
71 when: on_success
72 - changes:
73 *gallium_core_file_list
74 when: on_success
Michel Dänzer23daa492020-04-29 17:56:26 +020075 - changes: &llvmpipe_file_list
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +010076 - src/gallium/drivers/llvmpipe/**/*
77 - src/gallium/winsys/sw/**/*
78 when: on_success
79 - when: never
80
Daniel Stone76f74bd2020-10-27 07:42:15 +000081.llvmpipe-cl-rules:
82 stage: llvmpipe
83 rules:
84 - *ignore_scheduled_pipelines
85 - changes:
86 - .gitlab-ci.yml
87 - .gitlab-ci/**/*
88 - meson.build
89 - include/**/*
90 - src/compiler/**/*
91 - src/include/**/*
92 - src/util/**/*
93 when: on_success
94 - changes:
95 *gallium_core_file_list
96 when: on_success
97 - changes:
98 *llvmpipe_file_list
99 when: on_success
100 - changes: &clover_file_list
101 - src/gallium/frontends/clover/**/*
102 when: on_success
103 - when: never
104
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100105.freedreno-rules:
106 stage: freedreno
107 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200108 - *ignore_scheduled_pipelines
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100109 - changes:
110 *mesa_core_file_list
111 when: on_success
112 - changes:
113 *gallium_core_file_list
114 when: on_success
115 - changes:
Rob Clarkddcee242020-07-24 10:34:47 -0700116 # Note: when https://gitlab.com/gitlab-org/gitlab/-/issues/198688
117 # is supported, we can change the src/freedreno/ rule to explicitly
118 # exclude tools, rather than having to explicitly list everything
119 # else
120 - src/freedreno/common/**/*
121 - src/freedreno/drm/**/*
122 - src/freedreno/fdl/**/*
Rob Clarkf39afda2020-07-26 09:44:01 -0700123 - src/freedreno/ir2/**/*
Rob Clarkddcee242020-07-24 10:34:47 -0700124 - src/freedreno/ir3/**/*
125 - src/freedreno/perfcntrs/**/*
126 - src/freedreno/registers/**/*
127 - src/freedreno/vulkan/**/*
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100128 - src/gallium/drivers/freedreno/**/*
129 - src/gallium/winsys/freedreno/**/*
130 when: on_success
131 - when: never
132
133.panfrost-rules:
134 stage: panfrost
135 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200136 - *ignore_scheduled_pipelines
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100137 - changes:
138 *mesa_core_file_list
139 when: on_success
140 - changes:
141 *gallium_core_file_list
142 when: on_success
143 - changes:
144 - src/gallium/drivers/panfrost/**/*
145 - src/gallium/winsys/panfrost/**/*
146 - src/panfrost/**/*
147 when: on_success
148 - when: never
149
150.lima-rules:
Samuel Pitoiset48e92032020-03-06 08:39:25 +0100151 stage: lima
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100152 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200153 - *ignore_scheduled_pipelines
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100154 - changes:
155 *mesa_core_file_list
156 when: on_success
157 - changes:
158 *gallium_core_file_list
159 when: on_success
160 - changes:
161 - src/gallium/drivers/lima/**/*
162 - src/gallium/winsys/lima/**/*
163 - src/lima/**/*
164 when: on_success
165 - when: never
Samuel Pitoiset8f554392020-03-09 17:53:51 +0100166
167.radv-rules:
168 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200169 - *ignore_scheduled_pipelines
Samuel Pitoiset8f554392020-03-09 17:53:51 +0100170 - changes:
171 *mesa_core_file_list
172 when: on_success
173 - changes:
174 - src/amd/**/*
175 - src/vulkan/**/*
176 when: on_success
177 - when: never
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +0200178
179.virgl-rules:
180 stage: virgl
181 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200182 - *ignore_scheduled_pipelines
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +0200183 - changes:
184 *mesa_core_file_list
185 when: on_success
186 - changes:
187 *gallium_core_file_list
188 when: on_success
189 - changes:
Michel Dänzer23daa492020-04-29 17:56:26 +0200190 *llvmpipe_file_list
191 when: on_success
192 - changes:
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +0200193 - src/gallium/drivers/virgl/**/*
194 - src/gallium/winsys/virgl/**/*
195 when: on_success
196 - when: never
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +0200197
198.radeonsi-rules:
199 stage: radeonsi
200 rules:
Michel Dänzera1f46d72020-09-21 19:27:51 +0200201 - *ignore_scheduled_pipelines
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +0200202 - changes:
203 *mesa_core_file_list
204 when: on_success
205 - changes:
206 *gallium_core_file_list
207 when: on_success
208 - changes:
209 - src/gallium/drivers/radeonsi/**/*
210 - src/gallium/winsys/amdgpu/**/*
Samuel Pitoiset005d9d22020-09-23 10:07:58 +0200211 - src/amd/*
212 - src/amd/addrlib/**/*
213 - src/amd/common/**/*
214 - src/amd/llvm/**/*
215 - src/amd/registers/**/*
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +0200216 when: on_success
217 - when: never