near / mpc

37 stars 11 forks source link

Optimize ci #630

Closed ailisp closed 3 months ago

ailisp commented 3 months ago

Previous cache has a size limit of 10G and it is not sufficient, result in fresh build everytime. This PR uses a unlimited cache to reduce build time. In the best case where dependency crate is not changed and only our code changes, it reduce 20 minutes of build time of unit (28min -> 6min), fastauth integration (33min -> 13min) and chain signature integration tests (35min -> 16min).

volovyks commented 3 months ago

https://docs.warpbuild.com/runners Looks like they have M1 machines. It can be useful for us at some point.

github-actions[bot] commented 3 months ago

Terraform Feature Environment Destroy (dev-630)

Terraform Initialization ⚙️success

Terraform Destroy success

Show Destroy Plan ``` No changes. No objects need to be destroyed. Either you have not created any objects yet or the existing objects were already deleted outside of Terraform. Destroy complete! Resources: 0 destroyed. ```

Pusher: @ailisp, Action: pull_request, Working Directory: `, Workflow:Terraform Feature Env (Destroy)`

ailisp commented 3 months ago

@volovyks it's not free but quite cheap. I'll give a try on their mac m1 machines, maybe they work unlike github's

volovyks commented 3 months ago

We may need to build M1 Docker images, I'm not sure if it is required to run tests on M1 instances.

ChaoticTempest commented 3 months ago

Don't think it would change anything though, since what was broken wasn't that we didn't have M1 docker builds but that colima (the docker virtualization tooling) was flaky on macos and we never bothered to get it working again.