@@ -212,7 +212,7 @@ jobs:
212
212
jobParameters :
213
213
testGroup : innerloop
214
214
nameSuffix : AllSubsets_Mono
215
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
215
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg)
216
216
timeoutInMinutes : 180
217
217
condition : >-
218
218
or(
@@ -249,16 +249,15 @@ jobs:
249
249
jobParameters :
250
250
testGroup : innerloop
251
251
nameSuffix : AllSubsets_Mono
252
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
252
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg)
253
253
timeoutInMinutes : 180
254
254
condition : >-
255
255
or(
256
256
eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
257
257
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
258
258
eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
259
259
eq(variables['isFullMatrix'], true))
260
-
261
- # don't run tests on PRs until we can get significantly more devices
260
+ # Device tests are rolling build only
262
261
${{ if eq(variables['isFullMatrix'], true) }} :
263
262
# extra steps, run tests
264
263
extraStepsTemplate : /eng/pipelines/libraries/helix.yml
@@ -320,7 +319,7 @@ jobs:
320
319
buildConfig : Release
321
320
runtimeFlavor : mono
322
321
platforms :
323
- - Android_x64
322
+ - Android_x64
324
323
variables :
325
324
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }} :
326
325
- name : _HelixSource
@@ -343,11 +342,13 @@ jobs:
343
342
eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
344
343
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
345
344
eq(variables['isFullMatrix'], true))
346
- # extra steps, run tests
347
- extraStepsTemplate : /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
348
- extraStepsParameters :
349
- creator : dotnet-bot
350
- testRunNamePrefixSuffix : Mono_$(_BuildConfig)
345
+ # NOTE: Per PR test execution is not recommended for runtime tests
346
+ ${{ if eq(variables['isFullMatrix'], true) }} :
347
+ # extra steps, run tests
348
+ extraStepsTemplate : /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
349
+ extraStepsParameters :
350
+ creator : dotnet-bot
351
+ testRunNamePrefixSuffix : Mono_$(_BuildConfig)
351
352
352
353
#
353
354
# Build the whole product using Mono and run runtime tests with the JIT.
@@ -359,7 +360,7 @@ jobs:
359
360
buildConfig : Release
360
361
runtimeFlavor : mono
361
362
platforms :
362
- - iOSSimulator_x64
363
+ - iOSSimulator_x64
363
364
variables :
364
365
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }} :
365
366
- name : _HelixSource
@@ -381,15 +382,14 @@ jobs:
381
382
eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
382
383
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
383
384
eq(variables['isFullMatrix'], true))
384
- # Test execution is temporarily disabled because test apps no longer launch
385
- # and the test suite times out after two hours, even if xharness cannot
386
- # successfully launch any tests. Re-enable once these issues have been fixed.
385
+ # NOTE: Per PR test execution is not recommended for runtime tests
387
386
#
388
- # extra steps, run tests
389
- # extraStepsTemplate: /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
390
- # extraStepsParameters:
391
- # creator: dotnet-bot
392
- # testRunNamePrefixSuffix: Mono_$(_BuildConfig)
387
+ # ${{ if eq(variables['isFullMatrix'], true) }}:
388
+ # extra steps, run tests
389
+ # extraStepsTemplate: /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
390
+ # extraStepsParameters:
391
+ # creator: dotnet-bot
392
+ # testRunNamePrefixSuffix: Mono_$(_BuildConfig)
393
393
394
394
#
395
395
# Build the whole product using Mono for Android and run runtime tests with Android devices
@@ -401,7 +401,7 @@ jobs:
401
401
buildConfig : Release
402
402
runtimeFlavor : mono
403
403
platforms :
404
- - Android_arm64
404
+ - Android_arm64
405
405
variables :
406
406
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }} :
407
407
- name : _HelixSource
@@ -460,20 +460,21 @@ jobs:
460
460
eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
461
461
eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
462
462
eq(variables['isFullMatrix'], true))
463
- # extra steps, run tests
464
- extraStepsTemplate : /eng/pipelines/libraries/helix.yml
465
- extraStepsParameters :
466
- creator : dotnet-bot
467
- testRunNamePrefixSuffix : Mono_$(_BuildConfig)
468
- extraHelixArguments : /p:BrowserHost=windows
469
- scenarios :
470
- - normal
471
- - wasmtestonbrowser
472
- condition : >-
473
- or(
474
- eq(variables['librariesContainsChange'], true),
475
- eq(variables['monoContainsChange'], true),
476
- eq(variables['isFullMatrix'], true))
463
+ ${{ if eq(variables['isFullMatrix'], true) }} :
464
+ # extra steps, run tests
465
+ extraStepsTemplate : /eng/pipelines/libraries/helix.yml
466
+ extraStepsParameters :
467
+ creator : dotnet-bot
468
+ testRunNamePrefixSuffix : Mono_$(_BuildConfig)
469
+ extraHelixArguments : /p:BrowserHost=windows
470
+ scenarios :
471
+ - normal
472
+ - wasmtestonbrowser
473
+ condition : >-
474
+ or(
475
+ eq(variables['librariesContainsChange'], true),
476
+ eq(variables['monoContainsChange'], true),
477
+ eq(variables['isFullMatrix'], true))
477
478
478
479
#
479
480
# CoreCLR Build for running Apple Silicon libraries-innerloop
0 commit comments