CI: Skip half of RISC-V, Xtensa and Simulator targets when a Complex PR is created / updated #14400
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
When we submit or update a Complex PR that affects All Architectures (Arm, RISC-V, Xtensa, etc): CI Workflow shall run only half the jobs for RISC-V, Xtensa and Simulator:
risc-v-01
to03
xtensa-01
sim-01
When the Complex PR is Merged: CI Workflow will still run all jobs for RISC-V, Xtensa and Simulator:
risc-v-01
to06
xtensa-01
to02
sim-01
to02
Simple PRs with One Single Arch / Board will build the same way as before:
risc-v-01
to06
xtensa-01
to02
sim-01
to02
We hope to lower drastically our usage of GitHub Runners before the ASF Deadline, as explained here: #14376
Impact
When we submit or update a Complex PR: CI Workflow shall run only half the jobs for RISC-V, Xtensa and Simulator:
risc-v-01
to03
xtensa-01
sim-01
No changes to the CI Workflow when we merge a Complex PR. No impact for Simple PRs.
Testing
Creating a Simple PR for RISC-V will run jobs
risc-v-01
to06
(like before):Creating a Complex PR will only run jobs:
risc-v-01
to03
xtensa-01
sim-01
Merging a Complex PR will run all jobs (like before):
risc-v-01
to06
xtensa-01
to02
sim-01
to02