-
Notifications
You must be signed in to change notification settings - Fork 20
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
Accelerate the rust compilation #259
Comments
Elevate the priority because we are going to change the build profile later in #326 which will significantly increase the build time |
sccache looks promising when building the binary natively, see https://github.com/litentry/litentry-parachain/actions/runs/1991565305 It took ~7min to run the cargo runtime test. Without sccache it would take ~20min+. The problem remains with the docker build: it takes ~1hr on a github runner, see #393 Looking for some other options like
|
Experiments with When running on a github-runner, I see a decrease from 80min to 30min with the docker layer cached, however, 30min is still longer than the self-hosted runner without cache. Self-hosted runner seems to have problems with buildx |
Currently it takes ~20min to do a round of rust compilation(e.g.
cargo clippy
or docker build), this could bring about long waiting time if the self-hosted github runner is severely occupied (image there're multiple ongoing PRs, the compilation will be repeated for all the merging to/from dev and syncing).Maybe there're ways to accelerate the process:
sccache
Low prio.
The text was updated successfully, but these errors were encountered: