From 25da88cc34673e9ec051d720ecbdfbe5e479d107 Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Mon, 15 Nov 2021 16:13:42 -0800 Subject: [PATCH] Only run JIT formatting job if there are JIT changes (#61632) --- eng/pipelines/common/evaluate-default-paths.yml | 3 +++ eng/pipelines/runtime.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/common/evaluate-default-paths.yml b/eng/pipelines/common/evaluate-default-paths.yml index 9a29f4d10ae98..da3f291a9ce28 100644 --- a/eng/pipelines/common/evaluate-default-paths.yml +++ b/eng/pipelines/common/evaluate-default-paths.yml @@ -99,6 +99,9 @@ jobs: - src/coreclr/vm/* exclude: - '*' + - subset: coreclr_jit + include: + - src/coreclr/jit/* - ${{ if ne(parameters.extraSubsets, '') }}: - ${{ parameters.extraSubsets }} diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 30d234892d2c5..770d9c1de4cda 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -193,7 +193,7 @@ jobs: eq(variables['Build.SourceBranchName'], 'main'), eq(variables['System.PullRequest.TargetBranch'], 'main')), or( - eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr_jit.containsChange'], true), eq(variables['isFullMatrix'], true))) # Build and test clr tools