-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
394 lines (391 loc) · 21.5 KB
/
azure-pipelines.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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
trigger:
- master
stages:
- stage: initial_build
displayName: Initial Build
dependsOn: []
jobs:
- job:
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: self
clean: true
lfs: true
submodules: true
- task: DotNetCoreCLI@2
displayName: Build NetRegexCompiler
inputs:
command: 'build'
projects: '$(System.DefaultWorkingDirectory)/NetRegexCompiler/NetRegexCompiler.csproj'
workingDirectory: '$(System.DefaultWorkingDirectory)/NetRegexCompiler'
arguments: '--configuration Release'
- stage: parity_tests
displayName: Parity Tests
dependsOn: [initial_build]
jobs:
- job:
displayName: Parity Tests
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
None:
RegexOptions: None
CultureInvariant:
RegexOptions: CultureInvariant
ECMAScript:
RegexOptions: ECMAScript
ECMAScript_CultureInvariant:
RegexOptions: ECMAScript CultureInvariant
ExplicitCapture:
RegexOptions: ExplicitCapture
ExplicitCapture_CultureInvariant:
RegexOptions: ExplicitCapture CultureInvariant
IgnoreCase:
RegexOptions: IgnoreCase
IgnoreCase_CultureInvariant:
RegexOptions: IgnoreCase CultureInvariant
IgnoreCase_ECMAScript:
RegexOptions: IgnoreCase ECMAScript
IgnoreCase_ECMAScript_CultureInvariant:
RegexOptions: IgnoreCase ECMAScript CultureInvariant
IgnoreCase_ExplicitCapture:
RegexOptions: IgnoreCase ExplicitCapture
IgnoreCase_ExplicitCapture_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture CultureInvariant
IgnorePatternWhitespace:
RegexOptions: IgnorePatternWhitespace
IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnorePatternWhitespace CultureInvariant
ExplicitCapture_IgnorePatternWhitespace:
RegexOptions: ExplicitCapture IgnorePatternWhitespace
ExplicitCapture_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: ExplicitCapture IgnorePatternWhitespace CultureInvariant
IgnoreCase_IgnorePatternWhitespace:
RegexOptions: IgnoreCase IgnorePatternWhitespace
IgnoreCase_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase IgnorePatternWhitespace CultureInvariant
IgnoreCase_ExplicitCapture_IgnorePatternWhitespace:
RegexOptions: IgnoreCase ExplicitCapture IgnorePatternWhitespace
IgnoreCase_ExplicitCapture_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture IgnorePatternWhitespace CultureInvariant
Multiline:
RegexOptions: Multiline
Multiline_CultureInvariant:
RegexOptions: Multiline CultureInvariant
Multiline_ECMAScript:
RegexOptions: Multiline ECMAScript
Multiline_ECMAScript_CultureInvariant:
RegexOptions: Multiline ECMAScript CultureInvariant
Multiline_ExplicitCapture:
RegexOptions: Multiline ExplicitCapture
Multiline_ExplicitCapture_CultureInvariant:
RegexOptions: Multiline ExplicitCapture CultureInvariant
IgnoreCase_Multiline:
RegexOptions: IgnoreCase Multiline
IgnoreCase_Multiline_CultureInvariant:
RegexOptions: IgnoreCase Multiline CultureInvariant
IgnoreCase_Multiline_ECMAScript:
RegexOptions: IgnoreCase Multiline ECMAScript
IgnoreCase_Multiline_ECMAScript_CultureInvariant:
RegexOptions: IgnoreCase Multiline ECMAScript CultureInvariant
IgnoreCase_Multiline_ExplicitCapture:
RegexOptions: IgnoreCase Multiline ExplicitCapture
IgnoreCase_Multiline_ExplicitCapture_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture CultureInvariant
Multiline_IgnorePatternWhitespace:
RegexOptions: Multiline IgnorePatternWhitespace
Multiline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: Multiline IgnorePatternWhitespace CultureInvariant
Multiline_ExplicitCapture_IgnorePatternWhitespace:
RegexOptions: Multiline ExplicitCapture IgnorePatternWhitespace
Multiline_ExplicitCapture_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: Multiline ExplicitCapture IgnorePatternWhitespace CultureInvariant
IgnoreCase_Multiline_IgnorePatternWhitespace:
RegexOptions: IgnoreCase Multiline IgnorePatternWhitespace
IgnoreCase_Multiline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase Multiline IgnorePatternWhitespace CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_IgnorePatternWhitespace:
RegexOptions: IgnoreCase Multiline ExplicitCapture IgnorePatternWhitespace
IgnoreCase_Multiline_ExplicitCapture_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture IgnorePatternWhitespace CultureInvariant
RightToLeft:
RegexOptions: RightToLeft
RightToLeft_CultureInvariant:
RegexOptions: RightToLeft CultureInvariant
ExplicitCapture_RightToLeft:
RegexOptions: ExplicitCapture RightToLeft
ExplicitCapture_RightToLeft_CultureInvariant:
RegexOptions: ExplicitCapture RightToLeft CultureInvariant
IgnoreCase_RightToLeft:
RegexOptions: IgnoreCase RightToLeft
IgnoreCase_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase RightToLeft CultureInvariant
IgnoreCase_ExplicitCapture_RightToLeft:
RegexOptions: IgnoreCase ExplicitCapture RightToLeft
IgnoreCase_ExplicitCapture_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture RightToLeft CultureInvariant
IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnorePatternWhitespace RightToLeft
IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnorePatternWhitespace RightToLeft CultureInvariant
ExplicitCapture_IgnorePatternWhitespace_RightToLeft:
RegexOptions: ExplicitCapture IgnorePatternWhitespace RightToLeft
ExplicitCapture_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: ExplicitCapture IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase IgnorePatternWhitespace RightToLeft
IgnoreCase_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_ExplicitCapture_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase ExplicitCapture IgnorePatternWhitespace RightToLeft
IgnoreCase_ExplicitCapture_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture IgnorePatternWhitespace RightToLeft CultureInvariant
Multiline_RightToLeft:
RegexOptions: Multiline RightToLeft
Multiline_RightToLeft_CultureInvariant:
RegexOptions: Multiline RightToLeft CultureInvariant
Multiline_ExplicitCapture_RightToLeft:
RegexOptions: Multiline ExplicitCapture RightToLeft
Multiline_ExplicitCapture_RightToLeft_CultureInvariant:
RegexOptions: Multiline ExplicitCapture RightToLeft CultureInvariant
IgnoreCase_Multiline_RightToLeft:
RegexOptions: IgnoreCase Multiline RightToLeft
IgnoreCase_Multiline_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline RightToLeft CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_RightToLeft:
RegexOptions: IgnoreCase Multiline ExplicitCapture RightToLeft
IgnoreCase_Multiline_ExplicitCapture_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture RightToLeft CultureInvariant
Multiline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: Multiline IgnorePatternWhitespace RightToLeft
Multiline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: Multiline IgnorePatternWhitespace RightToLeft CultureInvariant
Multiline_ExplicitCapture_IgnorePatternWhitespace_RightToLeft:
RegexOptions: Multiline ExplicitCapture IgnorePatternWhitespace RightToLeft
Multiline_ExplicitCapture_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: Multiline ExplicitCapture IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_Multiline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase Multiline IgnorePatternWhitespace RightToLeft
IgnoreCase_Multiline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase Multiline ExplicitCapture IgnorePatternWhitespace RightToLeft
IgnoreCase_Multiline_ExplicitCapture_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture IgnorePatternWhitespace RightToLeft CultureInvariant
Singleline:
RegexOptions: Singleline
Singleline_CultureInvariant:
RegexOptions: Singleline CultureInvariant
ExplicitCapture_Singleline:
RegexOptions: ExplicitCapture Singleline
ExplicitCapture_Singleline_CultureInvariant:
RegexOptions: ExplicitCapture Singleline CultureInvariant
IgnoreCase_Singleline:
RegexOptions: IgnoreCase Singleline
IgnoreCase_Singleline_CultureInvariant:
RegexOptions: IgnoreCase Singleline CultureInvariant
IgnoreCase_ExplicitCapture_Singleline:
RegexOptions: IgnoreCase ExplicitCapture Singleline
IgnoreCase_ExplicitCapture_Singleline_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture Singleline CultureInvariant
Singleline_IgnorePatternWhitespace:
RegexOptions: Singleline IgnorePatternWhitespace
Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: Singleline IgnorePatternWhitespace CultureInvariant
ExplicitCapture_Singleline_IgnorePatternWhitespace:
RegexOptions: ExplicitCapture Singleline IgnorePatternWhitespace
ExplicitCapture_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: ExplicitCapture Singleline IgnorePatternWhitespace CultureInvariant
IgnoreCase_Singleline_IgnorePatternWhitespace:
RegexOptions: IgnoreCase Singleline IgnorePatternWhitespace
IgnoreCase_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase Singleline IgnorePatternWhitespace CultureInvariant
IgnoreCase_ExplicitCapture_Singleline_IgnorePatternWhitespace:
RegexOptions: IgnoreCase ExplicitCapture Singleline IgnorePatternWhitespace
IgnoreCase_ExplicitCapture_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture Singleline IgnorePatternWhitespace CultureInvariant
Multiline_Singleline:
RegexOptions: Multiline Singleline
Multiline_Singleline_CultureInvariant:
RegexOptions: Multiline Singleline CultureInvariant
Multiline_ExplicitCapture_Singleline:
RegexOptions: Multiline ExplicitCapture Singleline
Multiline_ExplicitCapture_Singleline_CultureInvariant:
RegexOptions: Multiline ExplicitCapture Singleline CultureInvariant
IgnoreCase_Multiline_Singleline:
RegexOptions: IgnoreCase Multiline Singleline
IgnoreCase_Multiline_Singleline_CultureInvariant:
RegexOptions: IgnoreCase Multiline Singleline CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_Singleline:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline
IgnoreCase_Multiline_ExplicitCapture_Singleline_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline CultureInvariant
Multiline_Singleline_IgnorePatternWhitespace:
RegexOptions: Multiline Singleline IgnorePatternWhitespace
Multiline_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: Multiline Singleline IgnorePatternWhitespace CultureInvariant
Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace:
RegexOptions: Multiline ExplicitCapture Singleline IgnorePatternWhitespace
Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: Multiline ExplicitCapture Singleline IgnorePatternWhitespace CultureInvariant
IgnoreCase_Multiline_Singleline_IgnorePatternWhitespace:
RegexOptions: IgnoreCase Multiline Singleline IgnorePatternWhitespace
IgnoreCase_Multiline_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase Multiline Singleline IgnorePatternWhitespace CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline IgnorePatternWhitespace
IgnoreCase_Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline IgnorePatternWhitespace CultureInvariant
Singleline_RightToLeft:
RegexOptions: Singleline RightToLeft
Singleline_RightToLeft_CultureInvariant:
RegexOptions: Singleline RightToLeft CultureInvariant
ExplicitCapture_Singleline_RightToLeft:
RegexOptions: ExplicitCapture Singleline RightToLeft
ExplicitCapture_Singleline_RightToLeft_CultureInvariant:
RegexOptions: ExplicitCapture Singleline RightToLeft CultureInvariant
IgnoreCase_Singleline_RightToLeft:
RegexOptions: IgnoreCase Singleline RightToLeft
IgnoreCase_Singleline_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Singleline RightToLeft CultureInvariant
IgnoreCase_ExplicitCapture_Singleline_RightToLeft:
RegexOptions: IgnoreCase ExplicitCapture Singleline RightToLeft
IgnoreCase_ExplicitCapture_Singleline_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture Singleline RightToLeft CultureInvariant
Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: Singleline IgnorePatternWhitespace RightToLeft
Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft
ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase Singleline IgnorePatternWhitespace RightToLeft
IgnoreCase_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft
IgnoreCase_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
Multiline_Singleline_RightToLeft:
RegexOptions: Multiline Singleline RightToLeft
Multiline_Singleline_RightToLeft_CultureInvariant:
RegexOptions: Multiline Singleline RightToLeft CultureInvariant
Multiline_ExplicitCapture_Singleline_RightToLeft:
RegexOptions: Multiline ExplicitCapture Singleline RightToLeft
Multiline_ExplicitCapture_Singleline_RightToLeft_CultureInvariant:
RegexOptions: Multiline ExplicitCapture Singleline RightToLeft CultureInvariant
IgnoreCase_Multiline_Singleline_RightToLeft:
RegexOptions: IgnoreCase Multiline Singleline RightToLeft
IgnoreCase_Multiline_Singleline_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline Singleline RightToLeft CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_Singleline_RightToLeft:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline RightToLeft
IgnoreCase_Multiline_ExplicitCapture_Singleline_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline RightToLeft CultureInvariant
Multiline_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: Multiline Singleline IgnorePatternWhitespace RightToLeft
Multiline_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: Multiline Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: Multiline ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft
Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: Multiline ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_Multiline_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase Multiline Singleline IgnorePatternWhitespace RightToLeft
IgnoreCase_Multiline_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
IgnoreCase_Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft
IgnoreCase_Multiline_ExplicitCapture_Singleline_IgnorePatternWhitespace_RightToLeft_CultureInvariant:
RegexOptions: IgnoreCase Multiline ExplicitCapture Singleline IgnorePatternWhitespace RightToLeft CultureInvariant
steps:
- checkout: self
clean: true
lfs: true
submodules: true
- task: DotNetCoreCLI@2
inputs:
command: 'run'
projects: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.GenerateTests/NetRegexCompiler.GenerateTests.csproj'
arguments: '--configuration Release "$(System.DefaultWorkingDirectory)/NetRegexCompiler.Tests.TestRegexes/regexes" $(RegexOptions)'
workingDirectory: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.GenerateTests'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: '--configuration Release'
workingDirectory: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.Tests.TestRegexes'
- stage: benchmarking
displayName: Benchmarking
dependsOn: [initial_build, parity_tests]
jobs:
- job:
displayName: Benchmarks
strategy:
matrix:
ubuntu_netcoreapp22_0:
Platform: 'ubuntu-16.04'
Framework: 'netcoreapp2.2'
Seed: 0
ubuntu_netcoreapp22_1:
Platform: 'ubuntu-16.04'
Framework: 'netcoreapp2.2'
Seed: 1
ubuntu_netcoreapp22_2:
Platform: 'ubuntu-16.04'
Framework: 'netcoreapp2.2'
Seed: 2
ubuntu_netcoreapp22_3:
Platform: 'ubuntu-16.04'
Framework: 'netcoreapp2.2'
Seed: 3
ubuntu_netcoreapp22_4:
Platform: 'ubuntu-16.04'
Framework: 'netcoreapp2.2'
Seed: 4
windows_netcoreapp22_0:
Platform: 'windows-2019'
Framework: 'netcoreapp2.2'
Seed: 0
windows_netcoreapp22_1:
Platform: 'windows-2019'
Framework: 'netcoreapp2.2'
Seed: 1
windows_netcoreapp22_2:
Platform: 'windows-2019'
Framework: 'netcoreapp2.2'
Seed: 2
windows_netcoreapp22_3:
Platform: 'windows-2019'
Framework: 'netcoreapp2.2'
Seed: 3
windows_netcoreapp22_4:
Platform: 'windows-2019'
Framework: 'netcoreapp2.2'
Seed: 4
pool:
vmImage: $(Platform)
steps:
- checkout: self
clean: true
lfs: true
submodules: true
- task: DotNetCoreCLI@2
inputs:
command: 'run'
projects: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.GenerateBenchmarks/NetRegexCompiler.GenerateBenchmarks.csproj'
arguments: '--configuration Release "$(System.DefaultWorkingDirectory)/NetRegexCompiler.Benchmarks/regexes" $(Seed) compiled'
workingDirectory: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.Benchmarks'
- task: DotNetCoreCLI@2
inputs:
command: 'run'
projects: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.Benchmarks/NetRegexCompiler.Benchmarks.csproj'
arguments: '--configuration Release --framework $(Framework) --filter *'
workingDirectory: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.Benchmarks'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(System.DefaultWorkingDirectory)/NetRegexCompiler.Benchmarks/BenchmarkDotNet.Artifacts/results/NetRegexCompiler.Benchmarks.Benchmarks-report-full.json'
artifactName: 'benchmark-$(Platform)-$(Framework)-$(Seed)'