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
aduh95
left a comment
There was a problem hiding this comment.
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