Skip to content

CI: Set PR Label to the Arch-Specific Board - #13970

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
lupyuen2:label7
Oct 9, 2024
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
lupyuen2:label7

Conversation

@lupyuen

@lupyuen lupyuen commented Oct 9, 2024

Copy link
Copy Markdown
Member

Summary

This PR changes the Labeling of PRs so that the Architecture (arm, risc-v, xtensa, ...) is specified in the Board Label. Previously the CI Workflow would set Generic Board Labels like "Area: Board support". Now it will set the Arch-Specific Board Label like "Board: arm".

The Board Label will be used by the upcoming CI Build Rules to skip unnecessary builds. So "Board: arm" will enable only the builds for arm-01 to arm-14. This is explained here: #13775

Impact

No impact, since the current label "Area: Board support" is not used by the CI Build Rules.

The Updated CI Workflow shall be synced to nuttx-apps repo in the next PR.

Testing

We tested the Board Labeling by creating Board PRs for each Arch:

This PR changes the Labeling of PRs so that the Architecture (arm, risc-v, xtensa, ...) is specified in the Board Label. Previously the CI Workflow would set Generic Board Labels like "Area: Board support". Now it will set the Arch-Specific Board Label like "Board: arm".

The Board Label will be used by the upcoming CI Build Rules to skip unnecessary builds. So "Board: arm" will enable only the builds for `arm-01` to `arm-14`. This is explained here: apache#13775
@github-actions github-actions Bot added Area: CI Size: S The size of the change in this PR is small labels Oct 9, 2024
@lupyuen lupyuen linked an issue Oct 9, 2024 that may be closed by this pull request
1 task done
@lupyuen

lupyuen commented Oct 9, 2024

Copy link
Copy Markdown
Member Author

Hi @raiden00pl: I hope you're OK if we change the PR Label from "Area: Board support" to "Board: arm"? This will make it a lot simpler to skip the unnecessary builds. Thanks!

@raiden00pl raiden00pl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea! I'll update labels in repo settings

@xiaoxiang781216
xiaoxiang781216 merged commit a38e533 into apache:master Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CI Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Enhance the CI Workflow to skip the Unmodified Architectures

3 participants