@@ -292,7 +292,7 @@ jobs:
292
292
jobParameters :
293
293
testGroup : innerloop
294
294
nameSuffix : AllSubsets_Mono
295
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true
295
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg)
296
296
timeoutInMinutes : 180
297
297
condition : >-
298
298
or(
@@ -305,6 +305,7 @@ jobs:
305
305
extraStepsParameters :
306
306
creator : dotnet-bot
307
307
testRunNamePrefixSuffix : Mono_$(_BuildConfig)
308
+ extraHelixArguments : $(_runSmokeTestsOnlyArg)
308
309
scenarios :
309
310
- normal
310
311
- wasmtestonbrowser
@@ -324,7 +325,9 @@ jobs:
324
325
buildConfig : Release
325
326
runtimeFlavor : mono
326
327
platforms :
327
- - Browser_wasm
328
+ # BuildWasmApps should only happen on the rolling build. No need to duplicate the build on PR's
329
+ - ${{ if eq(variables['isFullMatrix'], true) }} :
330
+ - Browser_wasm
328
331
variables :
329
332
# map dependencies variables to local variables
330
333
- name : monoContainsChange
@@ -374,7 +377,7 @@ jobs:
374
377
jobParameters :
375
378
testGroup : innerloop
376
379
nameSuffix : AllSubsets_Mono_EAT
377
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:EnableAggressiveTrimming=true /p:BuildAOTTestsOnHelix=true /p:RunAOTCompilation=false
380
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg) /p:EnableAggressiveTrimming=true /p:BuildAOTTestsOnHelix=true /p:RunAOTCompilation=false
378
381
timeoutInMinutes : 180
379
382
condition : >-
380
383
or(
@@ -387,7 +390,7 @@ jobs:
387
390
extraStepsParameters :
388
391
creator : dotnet-bot
389
392
testRunNamePrefixSuffix : Mono_$(_BuildConfig)
390
- extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true
393
+ extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg)
391
394
scenarios :
392
395
- normal
393
396
condition : >-
@@ -416,7 +419,7 @@ jobs:
416
419
jobParameters :
417
420
testGroup : innerloop
418
421
nameSuffix : AllSubsets_Mono_AOT
419
- buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:EnableAggressiveTrimming=true /p:BuildAOTTestsOnHelix=true /p:RunAOTCompilation=true
422
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg) /p:EnableAggressiveTrimming=true /p:BuildAOTTestsOnHelix=true /p:RunAOTCompilation=true
420
423
timeoutInMinutes : 180
421
424
condition : >-
422
425
or(
@@ -429,7 +432,7 @@ jobs:
429
432
extraStepsParameters :
430
433
creator : dotnet-bot
431
434
testRunNamePrefixSuffix : Mono_$(_BuildConfig)
432
- extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true
435
+ extraHelixArguments : /p:NeedsToBuildWasmAppsOnHelix=true $(_runSmokeTestsOnlyArg)
433
436
scenarios :
434
437
- normal
435
438
condition : >-
@@ -488,10 +491,8 @@ jobs:
488
491
buildArgs : -s mono+libs -c $(_BuildConfig)
489
492
timeoutInMinutes : 180
490
493
condition : >-
491
- or(
492
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
493
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
494
- eq(variables['isFullMatrix'], true))
494
+ eq(variables['isFullMatrix'], true)
495
+ # NOTE: Per PR test execution is not recommended for mobile runtime tests
495
496
# extra steps, run tests
496
497
extraStepsTemplate : /eng/pipelines/common/templates/runtimes/wasm-runtime-and-send-to-helix.yml
497
498
extraStepsParameters :
@@ -526,10 +527,8 @@ jobs:
526
527
buildArgs : -s mono+libs -c $(_BuildConfig)
527
528
timeoutInMinutes : 240
528
529
condition : >-
529
- or(
530
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
531
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
532
- eq(variables['isFullMatrix'], true))
530
+ eq(variables['isFullMatrix'], true)
531
+ # NOTE: Per PR test execution is not recommended for mobile runtime tests
533
532
# extra steps, run tests
534
533
extraStepsTemplate : /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml
535
534
extraStepsParameters :
@@ -1042,10 +1041,7 @@ jobs:
1042
1041
liveRuntimeBuildConfig : release
1043
1042
runtimeVariant : minijit
1044
1043
condition : >-
1045
- or(
1046
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
1047
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
1048
- eq(variables['isFullMatrix'], true))
1044
+ eq(variables['isFullMatrix'], true)
1049
1045
1050
1046
#
1051
1047
# Mono CoreCLR runtime Test executions using live libraries in interpreter mode
@@ -1066,10 +1062,7 @@ jobs:
1066
1062
liveRuntimeBuildConfig : release
1067
1063
runtimeVariant : monointerpreter
1068
1064
condition : >-
1069
- or(
1070
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
1071
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
1072
- eq(variables['isFullMatrix'], true))
1065
+ eq(variables['isFullMatrix'], true)
1073
1066
#
1074
1067
# Mono CoreCLR runtime Test executions using live libraries and LLVM AOT
1075
1068
# Only when Mono is changed
@@ -1091,10 +1084,7 @@ jobs:
1091
1084
liveRuntimeBuildConfig : release
1092
1085
runtimeVariant : llvmaot
1093
1086
condition : >-
1094
- or(
1095
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
1096
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
1097
- eq(variables['isFullMatrix'], true))
1087
+ eq(variables['isFullMatrix'], true)
1098
1088
1099
1089
#
1100
1090
# Mono CoreCLR runtime Test executions using live libraries and LLVM Full AOT
@@ -1117,10 +1107,7 @@ jobs:
1117
1107
liveRuntimeBuildConfig : release
1118
1108
runtimeVariant : llvmfullaot
1119
1109
condition : >-
1120
- or(
1121
- eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
1122
- eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),
1123
- eq(variables['isFullMatrix'], true))
1110
+ eq(variables['isFullMatrix'], true)
1124
1111
1125
1112
#
1126
1113
# Libraries Release Test Execution against a release mono runtime.
@@ -1288,4 +1275,4 @@ jobs:
1288
1275
or(
1289
1276
eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
1290
1277
eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
1291
- eq(variables['isFullMatrix'], true))
1278
+ eq(variables['isFullMatrix'], true))
0 commit comments