CI: Skip jobs arm-08 to arm-14 when a Complex PR is created / updated #2753
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. Previously CI Workflow will run
arm-01
toarm-14
, now we will run onlyarm-01
toarm-07
.When the Complex PR is Merged: CI Workflow will still run all jobs
arm-01
toarm-14
Simple PRs with One Single Arch / Board will build the same way as before:
arm-01
toarm-14
This is explained here: apache/nuttx#14376
Note that this version of
arch.yml
has diverged fromnuttx
repo, since we are unable to merge apache/nuttx#14377Impact
When we submit or update a Complex PR: CI Workflow shall run only half the jobs:
arm-01
toarm-07
(instead ofarm-01
toarm-14
)No changes to the CI Workflow when we merge a Complex PR. No impact for Simple PRs.
Testing
Creating a Simple PR will run jobs
arm-01
toarm-14
(like before)https://github.com/lupyuen5/label-nuttx/actions/runs/11380165777
Creating a Complex PR will only run jobs
arm-01
toarm-07
(skippingarm-08
toarm-14
)https://github.com/lupyuen5/label-nuttx/actions/runs/11380214455
Merging a Complex PR will run all jobs
arm-01
toarm-14
(like before)https://github.com/lupyuen5/label-nuttx/actions/runs/11380246952