trns1997 opened a new pull request, #17197: URL: https://github.com/apache/nuttx/pull/17197
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Closes #17153 This PR restructures the CI workflow to run multiple serialized jobs within a single workflow, ensuring each stage executes only when previous stages succeed. Previously, CI stages were split across multiple workflows that could trigger independently, leading to unnecessary or redundant runs. By consolidating these into one workflow with explicitly ordered jobs, CI execution is now more predictable and efficient, avoiding wasted runs when earlier checks fail or when CI is not required (e.g., draft PRs). This structure also provides a cleaner foundation for adding conditional job guards in the future, allowing selective execution based on PR state or branch type. Note i have focused only on the following 3 stages `check`, `link` and `build` as they are essential to all PRs and the `build` is the most resource hungry stage. ## Impact - CI Behavior: Workflows now run in sequence, ensuring later stages only execute when earlier ones succeed. Prevents redundant or premature CI runs that provide no useful feedback. - Efficiency: Reduces unnecessary pipeline triggers, leading to faster, more focused feedback. - Maintainability: Simplifies adding further CI control logic (e.g., conditional execution or skipping). - Developer Experience: Makes CI runs more predictable and relevant to the state of the PR. ## Testing See pipeline in this PR. Example of draft PR: https://github.com/apache/nuttx/actions/runs/18410848280?pr=17184 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
