incubator-nuttx/.github/workflows
Lup Yuen Lee 69f58de304 CI: Apply the Refactored Build Rules based on Arch Labels
This PR continues to enhance the CI Workflow, to skip the unnecessary NuttX Builds. The PR will update the CI Build Workflow `build.yml`, to call the Refactored Build Rules in `arch.yml` (which is a Reusable Workflow).

The original rules were migrated from `build.yml` to `arch.yml`:
- We target only the Simple PRs: One Arch Label + One Size Label (e.g. "Arch: risc-v, Size: XS")
- For "Arch: risc-v": Build `risc-v-01`, `risc-v-02`
- For "Arch: xtensa": Build `xtensa-01`, `xtensa-02`
- The above rules apply when the PR is Created or Modified
- When the PR is Merged: All targets shall be built

This PR applies the New and Updated Rules defined in `arch.yml`:
- For "Arch: arm": Build `arm-01`, `arm-02`, ...
- For "Arch: arm64": Build `other`
- For "Arch: simulator": Build `sim-01`, `sim-02`
- For "Arch: x86_64": Build `other`
- For Simple PRs (One Arch Label + One Size Label): Skip the macOS and Windows builds (`macos`, `macos/sim-*`, `msys2`) since these builds are costly and slow
- Except for "Arch: Simulator", which will enable the macOS Builds for `sim-01` and `sim-02`
- If GitHub CLI Fails: Build all targets

The code is explained here: https://github.com/apache/nuttx/issues/13775
2024-10-07 18:40:07 +08:00
..
arch.yml CI: Refactor the Build Rules based on Arch Labels 2024-10-07 15:04:28 +08:00
build.yml CI: Apply the Refactored Build Rules based on Arch Labels 2024-10-07 18:40:07 +08:00
check.yml build(deps): bump actions/checkout from 3 to 4 2023-09-11 14:28:40 +08:00
doc.yml doc.yml: Updated the workflow to use version v4 of the actions/upload-artifact 2024-07-23 22:38:43 +08:00
docker_linux.yml tools/ci/docker/linux/Dockerfile: Restarting the Docker-Linux workflow a new attempt 2024-09-02 14:11:51 -04:00
issue_labeler.yml github: add specifier to issue github labels 2024-09-20 22:02:44 +08:00
labeler.yml build(deps): bump codelytv/pr-size-labeler from 1.10.0 to 1.10.1 2024-09-23 14:37:02 +08:00
lint.yml build(deps): bump github/super-linter from 6 to 7 2024-09-07 12:08:11 +08:00