diff options
-rw-r--r-- | eng/pipelines/common/evaluate-default-paths.yml | 15 | ||||
-rw-r--r-- | eng/pipelines/coreclr/templates/helix-queues-setup.yml | 2 | ||||
-rw-r--r-- | eng/pipelines/runtime.yml | 16 |
3 files changed, 32 insertions, 1 deletions
diff --git a/eng/pipelines/common/evaluate-default-paths.yml b/eng/pipelines/common/evaluate-default-paths.yml index 1e2641a309c..387776589d7 100644 --- a/eng/pipelines/common/evaluate-default-paths.yml +++ b/eng/pipelines/common/evaluate-default-paths.yml @@ -81,6 +81,21 @@ jobs: - eng/pipelines/coreclr/* - eng/pipelines/mono/* - eng/pipelines/libraries/* + # 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/* + exclude: + - '*' - ${{ if ne(parameters.extraSubsets, '') }}: - ${{ parameters.extraSubsets }} diff --git a/eng/pipelines/coreclr/templates/helix-queues-setup.yml b/eng/pipelines/coreclr/templates/helix-queues-setup.yml index 0bcfbece35a..af307b2e186 100644 --- a/eng/pipelines/coreclr/templates/helix-queues-setup.yml +++ b/eng/pipelines/coreclr/templates/helix-queues-setup.yml @@ -97,7 +97,7 @@ jobs: # OSX arm64 - ${{ if eq(parameters.platform, 'OSX_arm64') }}: - - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'ci', 'libraries')) }}: + - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: - OSX.1100.ARM64.Open - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - OSX.1100.ARM64 diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 9d9ed65330e..2f600b5929e 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -791,6 +791,22 @@ jobs: eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) +- template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml + buildConfig: checked + platforms: + - OSX_arm64 + helixQueueGroup: pr + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobParameters: + testGroup: innerloop + liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }} + condition: >- + or( + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr_AppleSilicon.containsChange'], true), + eq(variables['isFullMatrix'], true)) + # # Mono Test builds with CoreCLR runtime tests using live libraries debug build # Only when Mono is changed |