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

Cache all Cairo programs in Rust workflow #777

Merged
merged 5 commits into from
Jan 27, 2023
Merged

Cache all Cairo programs in Rust workflow #777

merged 5 commits into from
Jan 27, 2023

Conversation

Oppen
Copy link
Member

@Oppen Oppen commented Jan 25, 2023

Lowers build times from <30' to about 5' for the Rust workflow by caching compiled cairo programs and the results of running them with cairo-lang, as they should not change unless we change the source files.

Future improvements:

  • Single cache for all workflows.
  • Parallel creation.

Copy link
Member

@fmoletta fmoletta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it!

@Oppen Oppen merged commit 266b97a into main Jan 27, 2023
@Oppen Oppen deleted the cache_all_programs branch January 27, 2023 21:23
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.

3 participants