Skip to content
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

improve CI contract build times #876

Merged
merged 6 commits into from
Oct 2, 2024
Merged

Conversation

aalu1418
Copy link
Collaborator

@aalu1418 aalu1418 commented Oct 1, 2024

Description

https://smartcontract-it.atlassian.net/browse/NONEVM-592

  • improve caching of cargo compilation artifacts (contracts/target/* + contracts/examples/hello-world/target/*)
  • cache additional cargo artifacts via a cached docker image (~/.cargo artifacts)
  • increase runner size to next size up

old runtime = ~5.5 min (link)
image

new runtime with fully cached deps = 3.75 min (link)
image

@aalu1418 aalu1418 force-pushed the feat/improve-contract-build-time branch from 540265e to ad6d690 Compare October 1, 2024 16:08
@aalu1418 aalu1418 force-pushed the feat/improve-contract-build-time branch from 22a80e2 to 1296d5b Compare October 1, 2024 16:31
@aalu1418 aalu1418 force-pushed the feat/improve-contract-build-time branch from 1296d5b to 0b34cd2 Compare October 1, 2024 16:39
@cl-sonarqube-production
Copy link

cl-sonarqube-production bot commented Oct 1, 2024

@aalu1418 aalu1418 merged commit 3ff8c1b into develop Oct 2, 2024
35 checks passed
@aalu1418 aalu1418 deleted the feat/improve-contract-build-time branch October 2, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants