未验证 提交 9cfdadc4 编写于 作者: A Ankit Jain 提交者: GitHub

CI: Tighten the path based triggers for jobs (#74534)

* CI: Tighten the path based triggers for jobs

`subsets`:
- `mono`: exclude all `src/mono/wasm`, since any changes in that will
  trigger the wasm jobs anyway
- `runtimetests`: exclude Wasm.Build.Tests, and Wasm.Debugger.Tests,
  both of which are in `src/tests/BuildWasmApps`, but are *not* related
  to runtime tests.
- `coreclr_jit`: exclude `src/mono/*` completely, unrelated.

Also, exclude `eng/pipelines/common/evaluate-default-paths.yml` from all
the subsets, so changes in that doesn't trigger unncessary builds.

* Address review feedback
上级 125f10bf
......@@ -27,6 +27,7 @@ jobs:
- eng/pipelines/installer/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- eng/pipelines/common/evaluate-default-paths.yml
- subset: mono
include:
- src/libraries/System.Private.CoreLib/*
......@@ -45,10 +46,11 @@ jobs:
- src/libraries/*
- src/native/libs/*
- src/tests/*
- src/mono/wasm/debugger/*
- src/mono/wasm/*
- eng/pipelines/installer/*
- eng/pipelines/coreclr/*
- eng/pipelines/libraries/*
- eng/pipelines/common/evaluate-default-paths.yml
- subset: libraries
exclude:
- eng/Version.Details.xml
......@@ -65,9 +67,15 @@ jobs:
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/installer/*
- eng/pipelines/common/evaluate-default-paths.yml
- subset: runtimetests
include:
- src/tests/*
exclude:
# wasm runtime changes will trigger all wasm jobs anyway
- src/mono/wasm/*
- src/tests/BuildWasmApps/*
- eng/pipelines/common/evaluate-default-paths.yml
- subset: installer
include:
- docs/manpages/*
......@@ -86,6 +94,7 @@ jobs:
- eng/pipelines/coreclr/*
- eng/pipelines/mono/*
- eng/pipelines/libraries/*
- eng/pipelines/common/evaluate-default-paths.yml
# 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
......@@ -126,6 +135,8 @@ jobs:
- eng/Versions.props
- src/mono/wasm/emscripten-version.txt
- src/libraries/sendtohelix*
exclude:
- eng/pipelines/common/evaluate-default-paths.yml
- subset: wasmdebuggertests
include:
- src/mono/wasm/debugger/*
......@@ -134,6 +145,8 @@ jobs:
- src/tests/BuildWasmApps/Wasm.Debugger.Tests/*
- eng/testing/ProvisioningVersions.props
- src/mono/mono/*
exclude:
- eng/pipelines/common/evaluate-default-paths.yml
- subset: allwasm
include:
- eng/Version.Details.xml
......@@ -148,6 +161,8 @@ jobs:
- src/mono/wasm/runtime/*
- src/mono/wasm/test-main.js
- src/mono/wasm/wasm.proj
exclude:
- eng/pipelines/common/evaluate-default-paths.yml
- ${{ if ne(parameters.extraSubsets, '') }}:
- ${{ parameters.extraSubsets }}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册