forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
evaluate-default-paths.yml
319 lines (302 loc) · 10.9 KB
/
evaluate-default-paths.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# Template to evaluate common paths in different pipelines.
parameters:
extraSubsets: ''
# _* parameters are being used as a const array,
# do not set them when using the template
_const_paths:
_wasm_specific_only: [
eng/testing/bump-chrome-version.proj
eng/testing/ChromeVersions.props
eng/testing/WasmRunner*
eng/testing/WasiRunner*
eng/testing/scenarios/BuildWasmAppsJobsList.txt
eng/testing/tests.browser.targets
eng/testing/tests.was*.targets
eng/testing/was*provisioning.targets
eng/testing/workloads-testing.targets
src/libraries/sendtohelix-wasm.targets
src/libraries/sendtohelix-wasi.targets
src/mono/mono/**/*wasm*
src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/*
src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/*
src/mono/nuget/Microsoft.NET.Runtime.wasm.Sample.Mono/*
src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/*
src/mono/nuget/Microsoft.NETCore.BrowserDebugHost.Transport/*
src/mono/nuget/Microsoft.NET.Workload*
src/mono/sample/wasm/*
src/mono/wasi/*
src/mono/wasm/*
src/mono/mono/mini/interp/jiterpreter*
src/tasks/WasmAppBuilder/*
src/tasks/WasmBuildTasks/*
src/tasks/WorkloadBuildTasks/*
src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/*
src/tasks/Microsoft.NET.WebAssembly.Webcil/*
src/tests/Common/wasm-test-runner/*
]
_wasm_pipelines: [
eng/pipelines/**/*wasm*
]
_wasm_src_native: [
src/native/minipal/*
src/native/libs/CMakeLists.txt
src/native/libs/configure.cmake
src/native/libs/build*
src/native/libs/Common/*
src/native/libs/System.Globalization.Native/*
src/native/libs/System.IO.Compression.Native/*
src/native/libs/System.Native/*
]
_wasm_chrome: [
eng/testing/bump-chrome-version.proj
eng/testing/ChromeVersions.props
]
_perf_pipeline_specific_only: [
eng/pipelines/runtime-wasm-perf.yml
eng/pipelines/coreclr/perf*.yml
eng/pipelines/coreclr/templates/perf-job.yml
eng/pipelines/coreclr/templates/*-perf-*
eng/pipelines/coreclr/templates/run-perf*
eng/pipelines/coreclr/templates/run-scenarios-job.yml
eng/testing/performance/*
]
# src/workloads is only used in runtime-official builds
# where evaluate-paths is not used
_always_exclude: [
eng/pipelines/common/evaluate-default-paths.yml
'*.md'
LICENSE.TXT
PATENTS.TXT
THIRD-PARTY-NOTICES.TXT
src/workloads/*
src/mono/wasm/sln/*
]
jobs:
- template: /eng/pipelines/common/evaluate-paths-job.yml
parameters:
paths:
- subset: coreclr
include:
- src/libraries/System.Private.CoreLib/*
- src/native/libs/Common/*
- src/native/libs/System.Globalization.Native/*
- src/native/libs/System.IO.Compression.Native/*
exclude:
- eng/Version.Details.xml
- docs/*
- src/installer/*
- src/mono/*
- src/libraries/*
- src/native/libs/*
- src/tests/*
- src/tools/*
- eng/pipelines/installer/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- subset: mono_excluding_wasm
include:
- src/libraries/System.Private.CoreLib/*
- src/native/libs/Common/*
- src/native/libs/System.Globalization.Native/*
- src/native/libs/System.IO.Compression.Native/*
exclude:
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- eng/Version.Details.xml
- docs/*
- src/installer/*
- src/coreclr/*
- src/libraries/*
- src/native/libs/*
- src/tests/*
- src/tools/*
- eng/pipelines/installer/*
- eng/pipelines/coreclr/*
- eng/pipelines/libraries/*
- subset: libraries
exclude:
- eng/Version.Details.xml
- docs/*
- src/installer/*
- src/mono/*
- src/coreclr/*
- src/tests/*
- src/tools/*
- src/native/eventpipe/*
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/installer/*
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- subset: runtimetests
combined: true
include:
- src/tests/*
exclude:
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- subset: tools_illink
include:
- src/tools/illink/*
- global.json
- subset: installer
include:
exclude:
- eng/Version.Details.xml
- docs/*
- src/coreclr/*
- src/mono/*
- src/libraries/*
- src/tests/*
- src/tools/*
- src/native/eventpipe/*
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
# We have limited Apple Silicon testing capacity
# We want PR testing on a narrower set of changes
# Specifically runtime directories which are higher risk of
# introducing a platform specific regression
- subset: coreclr_AppleSilicon
include:
- src/coreclr/dlls/*
- src/coreclr/gc/*
- src/coreclr/gcinfo/*
- src/coreclr/inc/*
- src/coreclr/jit/*
- src/coreclr/pal/*
- src/coreclr/vm/*
- subset: coreclr_jit
include:
- src/coreclr/jit/*
#
# ** WASM **
# Changes in *only* Wasm.Build.Tests, debugger, or runtime-tests are very
# self-contained, so we try to trigger only those relevants tests
#
- subset: wasmbuildtests
combined: true
include:
- eng/Version.Details.xml
- eng/Versions.props
- eng/testing/scenarios/BuildWasmAppsJobsList.txt
- eng/testing/tests.browser.targets
- eng/testing/tests.was*.targets
- eng/testing/workloads-testing.targets
- src/installer/pkg/sfx/Microsoft.NETCore.App/*
- src/libraries/sendtohelix*
- src/libraries/System.Net.WebSockets.Client/*
- src/libraries/System.Runtime.InteropServices/*
- src/libraries/System.Runtime.InteropServices.JavaScript/*
- src/mono/mono/*
- src/mono/monoaotcross.proj
- src/mono/nuget/Microsoft.NET.Runtime.MonoAOTCompiler.Task/*
- src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/*
- src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/*
- src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/*
- src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/*
- src/mono/nuget/Microsoft.NET.Runtime.wasm.Sample.Mono/*
- src/mono/nuget/Microsoft.NET.Workload*
- src/mono/nuget/Microsoft.NETCore.BrowserDebugHost.Transport/*
- src/mono/wasm/build/*
- src/mono/wasm/emscripten-version.txt
- src/mono/wasm/host/*
- src/mono/wasm/runtime/*
- src/mono/wasm/templates/*
- src/mono/wasm/Wasm.Build.Tests/*
- ${{ parameters._const_paths._wasm_chrome }}
- ${{ parameters._const_paths._wasm_src_native }}
- src/tasks/*
- ${{ parameters._const_paths._wasm_pipelines }}
exclude:
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- subset: wasmdebuggertests
combined: true
include:
- ${{ parameters._const_paths._wasm_chrome }}
- src/libraries/System.Runtime.InteropServices/*
- src/libraries/System.Runtime.InteropServices.JavaScript/*
- src/mono/mono/*
- src/mono/wasm/debugger/*
- src/mono/wasm/runtime/*
- ${{ parameters._const_paths._wasm_src_native }}
- ${{ parameters._const_paths._wasm_pipelines }}
exclude:
- src/mono/nuget/*
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
# wasm/runtimetests need to be run
- subset: wasm_runtimetests
combined: true
include:
- src/tests/*
- src/mono/*
- ${{ parameters._const_paths._wasm_src_native }}
exclude:
- src/mono/nuget/*
- src/mono/sample/*
- src/mono/tests/*
- src/mono/tools/*
- src/mono/wasi/*
- src/mono/wasm/debugger/*
- src/mono/wasm/host/*
- src/mono/wasm/Wasm.Build.Tests/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
# Wasm except Wasm.build.Tests, and debugger
- subset: wasm_specific_except_wbt_dbg
combined: true
include:
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
# other paths that should also trigger wasm jobs
- src/mono/*
exclude:
- eng/testing/scenarios/BuildWasmAppsJobsList.txt
- eng/testing/workloads-testing.targets
- src/mono/mono/component/mini-wasm-debugger.c
- src/mono/wasm/debugger/*
- src/mono/wasm/host/*
- src/mono/wasm/Wasm.Build.Tests/*
- src/mono/nuget/Microsoft.NET.Runtime*
src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/*
- src/mono/nuget/Microsoft.NET.Workload*
- src/mono/nuget/Microsoft.NETCore.BrowserDebugHost.Transport/*
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- subset: wasm_chrome
include:
- ${{ parameters._const_paths._wasm_chrome }}
# anything other than mono, or wasm specific paths
- subset: non_mono_and_wasm
exclude:
- eng/pipelines/mono/*
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- ${{ parameters._const_paths._perf_pipeline_specific_only }}
- eng/testing/tests.mobile.targets
- src/mono/*
- src/tasks/AndroidAppBuilder/*
- src/tasks/AotCompilerTask/*
- src/tasks/AppleAppBuilder/*
- src/tasks/MonoTargetsTasks/*
- src/tasks/WasmAppBuilder/*
- src/tasks/WasmBuildTasks/*
- src/tasks/WorkloadBuildTasks/*
- ${{ if ne(parameters.extraSubsets, '') }}:
- ${{ parameters.extraSubsets }}