Skip to content

Enable caching for Github Actions #341

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

Merged
merged 7 commits into from
Aug 25, 2020
Merged

Enable caching for Github Actions #341

merged 7 commits into from
Aug 25, 2020

Conversation

AfoHT
Copy link
Contributor

@AfoHT AfoHT commented Jul 13, 2020

Using GHA caching to store key parts of the testing environment.

One example is downloading arm-none-eabi-gcc (which takes roughly 1 minute) for each checkexamples.

The rustup setup is roughly 200MB and restores nicely.

Rust examples can be found here

Something to discuss:

Several notable projects remove some problematic files in order to keep cache size reasonable

rust-analyzer

cargo duscussion

tantivity-search

clap-rs

@AfoHT AfoHT changed the title WIP: Enable caching for Github Actions Enable caching for Github Actions Aug 25, 2020
Copy link
Collaborator

@korken89 korken89 left a comment

Choose a reason for hiding this comment

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

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 25, 2020

Build succeeded:

@bors bors bot merged commit 846aa50 into rtic-rs:master Aug 25, 2020
@AfoHT AfoHT deleted the gha-tuning branch October 4, 2023 18:39
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