-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Improved speed to build nuttx on MSYS2 job #16072
Conversation
After MSYS2 updated the package on GitHub there was a slowdown in building NuttX in the MSYS2 job. It went from an average of 6 minutes to 10 minutes !!! The purpose of this PR is to speed up the build to decrease the usage of the Windows runner. Modified Files tools/ci/cibuild.sh tools/sethost.sh make olddefconfig -j 4 -> make olddefconfig workaround for remove Cleaning... Configuring... make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Signed-off-by: simbit18 <[email protected]>
[Experimental Bot, please feedback here] This PR description does not fully meet the NuttX requirements. While it provides some information, it lacks crucial details and clarity. Here's a breakdown of the issues and how to improve it: Summary - Weaknesses:
Summary - How to Improve:
Impact - Weaknesses:
Impact - How to Improve:
Testing - Weaknesses:
Testing - How to Improve:
By addressing these points, you'll create a much clearer and more complete PR description that meets the NuttX requirements and facilitates a smoother review process. Remember, the goal is to make it easy for reviewers to understand the problem, your solution, and its impact. |
Summary
After MSYS2 updated the package on GitHub
there was a slowdown in building NuttX in the MSYS2 job.
It went from an average of 6 minutes to 10 minutes !!!
The purpose of this PR is to speed up the build to decrease the usage of the Windows runner.
Modified Files
tools/ci/cibuild.sh
tools/sethost.sh
make olddefconfig -j 4 -> make olddefconfig
workaround for remove
before the change

https://github.com/NuttX/nuttx/actions/runs/13472281038/job/37647297902#logs
after the change

https://github.com/NuttX/nuttx/actions/runs/13475897767/job/37655044076#logs
Impact
Impact on user: No changes to user-facing functionality
Impact on build: Build process remains the same
Testing
We tested on the local platform MSYS2 and GitHub
(https://github.com/simbit18/nuttx_test_pr/actions/runs/14058716583/job/39364107803#logs)