egl: inline fallback for swap_buffers_region
[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 - src/freedreno/**/*
93 - src/gallium/drivers/freedreno/**/*
94 - src/gallium/winsys/freedreno/**/*
95 when: on_success
96 - when: never
97
98 .panfrost-rules:
99 stage: panfrost
100 rules:
101 - *ignore_scheduled_pipelines
102 - changes:
103 *mesa_core_file_list
104 when: on_success
105 - changes:
106 *gallium_core_file_list
107 when: on_success
108 - changes:
109 - src/gallium/drivers/panfrost/**/*
110 - src/gallium/winsys/panfrost/**/*
111 - src/panfrost/**/*
112 when: on_success
113 - when: never
114
115 .lima-rules:
116 stage: lima
117 rules:
118 - *ignore_scheduled_pipelines
119 - changes:
120 *mesa_core_file_list
121 when: on_success
122 - changes:
123 *gallium_core_file_list
124 when: on_success
125 - changes:
126 - src/gallium/drivers/lima/**/*
127 - src/gallium/winsys/lima/**/*
128 - src/lima/**/*
129 when: on_success
130 - when: never
131
132 .radv-rules:
133 rules:
134 - *ignore_scheduled_pipelines
135 - changes:
136 *mesa_core_file_list
137 when: on_success
138 - changes:
139 - src/amd/**/*
140 - src/vulkan/**/*
141 when: on_success
142 - when: never
143
144 .virgl-rules:
145 stage: virgl
146 rules:
147 - *ignore_scheduled_pipelines
148 - changes:
149 *mesa_core_file_list
150 when: on_success
151 - changes:
152 *gallium_core_file_list
153 when: on_success
154 - changes:
155 *llvmpipe_file_list
156 when: on_success
157 - changes:
158 - src/gallium/drivers/virgl/**/*
159 - src/gallium/winsys/virgl/**/*
160 when: on_success
161 - when: never