-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
build: use Ninja in action workflows #37499
Conversation
Until we have a fix for the makefiles generated by GYP. Refs: nodejs#37429
Haha I would have thought that Ninja was available by default in GitHub action runners |
install Ninja
haha, same here. In the end, I build this in docker to avoid such issues (https://github.com/gengjiawen/node-build/blob/7bbcd29d624a79cccf3aa7bafd94a5747ae12c48/Dockerfile#L23). |
If we have fix some makefiles. I still hope we use ninja by default since it's much fast. |
It seems it doesn't improve the situation – maybe you need to specify |
Looks like you're right. I wonder what's special about github actions here. On my computer, it's enough to just |
put config flags in env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests completed in less than 10m 🎉
|
add coverage-linux
@aduh95 right, I missed coverage-linux, thanks! |
FWIW I think I've found the source of the regression with makefiles. PR: #37502 |
fast-track? |
#37505 fixes the issue with GYP – although we probably should still land this and use Ninja on GH Actions considering the improvement for build time. |
The build times in #37505 on GitHub Actions are comparable to the times for this PR. I would not expect them to be wildly different as GitHub actions start with a clean workspace/checkout. |
Until we have a fix for the makefiles generated by GYP.
Refs: #37429