Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / .gitlab-ci / test-source-dep.yml
1 # 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
42 # 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
49 .softpipe-rules:
50 stage: softpipe
51 rules:
52 - *ignore_scheduled_pipelines
53 - 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:
68 - *ignore_scheduled_pipelines
69 - changes:
70 *mesa_core_file_list
71 when: on_success
72 - changes:
73 *gallium_core_file_list
74 when: on_success
75 - changes: &llvmpipe_file_list
76 - src/gallium/drivers/llvmpipe/**/*
77 - src/gallium/winsys/sw/**/*
78 when: on_success
79 - when: never
80
81 .freedreno-rules:
82 stage: freedreno
83 rules:
84 - *ignore_scheduled_pipelines
85 - changes:
86 *mesa_core_file_list
87 when: on_success
88 - changes:
89 *gallium_core_file_list
90 when: on_success
91 - changes:
92 # Note: when https://gitlab.com/gitlab-org/gitlab/-/issues/198688
93 # is supported, we can change the src/freedreno/ rule to explicitly
94 # exclude tools, rather than having to explicitly list everything
95 # else
96 - src/freedreno/common/**/*
97 - src/freedreno/drm/**/*
98 - src/freedreno/fdl/**/*
99 - src/freedreno/ir2/**/*
100 - src/freedreno/ir3/**/*
101 - src/freedreno/perfcntrs/**/*
102 - src/freedreno/registers/**/*
103 - src/freedreno/vulkan/**/*
104 - src/gallium/drivers/freedreno/**/*
105 - src/gallium/winsys/freedreno/**/*
106 when: on_success
107 - when: never
108
109 .panfrost-rules:
110 stage: panfrost
111 rules:
112 - *ignore_scheduled_pipelines
113 - changes:
114 *mesa_core_file_list
115 when: on_success
116 - changes:
117 *gallium_core_file_list
118 when: on_success
119 - changes:
120 - src/gallium/drivers/panfrost/**/*
121 - src/gallium/winsys/panfrost/**/*
122 - src/panfrost/**/*
123 when: on_success
124 - when: never
125
126 .lima-rules:
127 stage: lima
128 rules:
129 - *ignore_scheduled_pipelines
130 - changes:
131 *mesa_core_file_list
132 when: on_success
133 - changes:
134 *gallium_core_file_list
135 when: on_success
136 - changes:
137 - src/gallium/drivers/lima/**/*
138 - src/gallium/winsys/lima/**/*
139 - src/lima/**/*
140 when: on_success
141 - when: never
142
143 .radv-rules:
144 rules:
145 - *ignore_scheduled_pipelines
146 - changes:
147 *mesa_core_file_list
148 when: on_success
149 - changes:
150 - src/amd/**/*
151 - src/vulkan/**/*
152 when: on_success
153 - when: never
154
155 .virgl-rules:
156 stage: virgl
157 rules:
158 - *ignore_scheduled_pipelines
159 - changes:
160 *mesa_core_file_list
161 when: on_success
162 - changes:
163 *gallium_core_file_list
164 when: on_success
165 - changes:
166 *llvmpipe_file_list
167 when: on_success
168 - changes:
169 - src/gallium/drivers/virgl/**/*
170 - src/gallium/winsys/virgl/**/*
171 when: on_success
172 - when: never
173
174 .radeonsi-rules:
175 stage: radeonsi
176 rules:
177 - changes:
178 *mesa_core_file_list
179 when: on_success
180 - changes:
181 *gallium_core_file_list
182 when: on_success
183 - changes:
184 - src/gallium/drivers/radeonsi/**/*
185 - src/gallium/winsys/amdgpu/**/*
186 - src/amd/**/*
187 when: on_success
188 - when: never