-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Copy pathevaluate-default-paths.yml
263 lines (244 loc) · 8.48 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
# 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/ProvisioningVersions.props
eng/testing/scenarios/BuildWasmAppsJobsList.txt
eng/testing/tests.wasm.targets
src/libraries/sendtohelix-wasm.targets
src/mono/nuget/Microsoft.NET.Runtime.WebAssembly.Sdk/*
src/mono/nuget/Microsoft.NET.Runtime.wasm.Sample.Mono/*
src/mono/sample/wasm/*
src/mono/wasi/*
src/mono/wasm/*
src/tasks/WasmAppBuilder/*
src/tasks/WasmBuildTasks/*
src/tasks/WorkloadBuildTasks/*
src/tests/Common/wasm-test-runner/*
]
_wasm_pipelines: [
eng/pipelines/**/*wasm*
]
# src/workloads is only used in runtime-official builds
# where evaluate-paths is not used
_always_exclude: [
eng/pipelines/common/evaluate-default-paths.yml
src/workloads/*
]
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
- '*.md'
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT
- docs/*
- src/installer/*
- src/mono/*
- src/libraries/*
- src/native/libs/*
- src/tests/*
- eng/pipelines/installer/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- 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 }}
- eng/Version.Details.xml
- '*.md'
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT
- docs/*
- src/installer/*
- src/coreclr/*
- src/libraries/*
- src/native/libs/*
- src/tests/*
- eng/pipelines/installer/*
- eng/pipelines/coreclr/*
- eng/pipelines/libraries/*
- subset: libraries
exclude:
- eng/Version.Details.xml
- '*.md'
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT
- docs/*
- src/installer/*
- src/mono/*
- src/coreclr/*
- src/tests/*
- src/native/eventpipe/*
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/installer/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- subset: runtimetests
include:
- src/tests/*
- subset: non_runtimetests
exclude:
- src/tests/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- subset: installer
include:
- docs/manpages/*
exclude:
- eng/Version.Details.xml
- '*.md'
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT
- docs/*
- src/coreclr/*
- src/mono/*
- src/libraries/*
- src/tests/*
- src/native/eventpipe/*
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
# 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, or debugger, are very self-contained,
# so we try to avoid triggering only those relevants tests
#
- subset: wasmbuildtests
include:
- eng/Version.Details.xml
- eng/Versions.props
- eng/testing/scenarios/BuildWasmAppsJobsList.txt
- eng/testing/workloads-testing.targets
- 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/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.wasm.Sample.Mono/*
- src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/*
- src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.net6.Manifest/*
- src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.net7.Manifest/*
- 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/*
- src/tasks/*
- ${{ parameters._const_paths._wasm_pipelines }}
- subset: wasmdebuggertests
include:
- eng/testing/ProvisioningVersions.props
- 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_pipelines }}
- subset: any_other_than_wasm_wbt_dbg
exclude:
- src/mono/wasm/Wasm.Build.Tests/*
- src/mono/wasm/debugger/*
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
- subset: wasm_wbt_or_dbg
include:
- src/mono/wasm/Wasm.Build.Tests/*
- src/mono/wasm/debugger/*
- subset: wasm
include:
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
# other paths that should also trigger wasm jobs
- src/mono/*
# libraries with some wasm specific code
- subset: wasm_libraries
include:
- src/libraries/Common/*
- src/libraries/System.Console/*
- src/libraries/System.Diagnostics.FileVersionInfo/tests/*
- src/libraries/System.IO.Compression/*
- src/libraries/System.IO.MemoryMappedFiles/*
- src/libraries/System.Net.Http/*
- src/libraries/System.Net.Mail/*
- src/libraries/System.Net.Primitives/*
- src/libraries/System.Net.WebClient/*
- src/libraries/System.Net.WebProxy/*
- src/libraries/System.Net.WebSockets.Client/*
- src/libraries/System.Net.WebSockets/*
- src/libraries/System.Runtime.InteropServices.JavaScript/*
- src/libraries/System.Runtime.InteropServices/*
- src/libraries/System.Runtime.Serialization.Formatters/*
- src/libraries/System.Security.Cryptography/*
- src/libraries/System.Text.Encodings.Web/*
# anything other than wasm-specific paths
- subset: non_wasm
exclude:
- ${{ parameters._const_paths._wasm_specific_only }}
- ${{ parameters._const_paths._wasm_pipelines }}
- ${{ parameters._const_paths._always_exclude }}
# 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 }}
- 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 }}