-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
tools: use sccache GitHub action #52839
Conversation
Review requested:
|
I'll push the yaml lint fix after the test workflow is finished so we can see if it then uses the cache |
Build time without cache: 1h21m |
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.
This is incredible. can it be added to other workflows?
Co-authored-by: Moshe Atlow <moshe@atlow.co.il>
Certainly, but I suggest we start only with one and monitor it for a few days before applying to others. |
I think the third run didn't use the previous cache because of c7e4209. I restarted it. |
Fast-track has been requested by @anonrig. Please 👍 to approve. |
Commit Queue failed- Loading data for nodejs/node/pull/52839 ✔ Done loading data for nodejs/node/pull/52839 ----------------------------------- PR info ------------------------------------ Title tools: use sccache GitHub action (#52839) Author Michaël Zasso (@targos) Branch targos:sccache -> nodejs:main Labels meta, fast-track, author ready Commits 3 - tools: use sccache GitHub action - lint - Update .github/workflows/test-linux.yml Committers 2 - Michaël Zasso - GitHub PR-URL: https://github.com/nodejs/node/pull/52839 Refs: https://github.com/Mozilla-Actions/sccache-action Reviewed-By: Moshe Atlow Reviewed-By: Yagiz Nizipli Reviewed-By: Benjamin Gruenbaum Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/52839 Refs: https://github.com/Mozilla-Actions/sccache-action Reviewed-By: Moshe Atlow Reviewed-By: Yagiz Nizipli Reviewed-By: Benjamin Gruenbaum Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 05 May 2024 11:45:39 GMT ✔ Approvals: 5 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/52839#pullrequestreview-2039719111 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/52839#pullrequestreview-2039729543 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/52839#pullrequestreview-2039764491 ✔ - Marco Ippolito (@marco-ippolito): https://github.com/nodejs/node/pull/52839#pullrequestreview-2039767711 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/52839#pullrequestreview-2039778872 ℹ This PR is being fast-tracked ✔ Last GitHub CI successful ℹ Green GitHub CI is sufficient -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 52839 From https://github.com/nodejs/node * branch refs/pull/52839/merge -> FETCH_HEAD ✔ Fetched commits as e5a76f16e11b..4961c7af469f -------------------------------------------------------------------------------- [main 6db8a08c4c] tools: use sccache GitHub action Author: Michaël Zasso Date: Sun May 5 13:45:10 2024 +0200 1 file changed, 8 insertions(+) [main 2426339528] lint Author: Michaël Zasso Date: Sun May 5 16:35:16 2024 +0200 1 file changed, 2 insertions(+), 2 deletions(-) [main 9cf34aa272] Update .github/workflows/test-linux.yml Author: Michaël Zasso Date: Sun May 5 17:12:07 2024 +0200 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 3 commits in the PR. Attempting autorebase. Rebasing (2/6)https://github.com/nodejs/node/actions/runs/8965783780 |
Landed in bbace72 |
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: nodejs#52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: #52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targos WDYT abod expanding this to other workflows now that is seems to work nicely? |
SGTM |
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: #52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: nodejs#52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Refs: https://github.com/Mozilla-Actions/sccache-action PR-URL: nodejs#52839 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Refs: https://github.com/Mozilla-Actions/sccache-action