-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
341: Enable caching for Github Actions r=korken89 a=AfoHT Using [GHA caching](https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows) 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](https://github.com/actions/cache/blob/master/examples.md#rust---cargo) **Something to discuss:** Several notable projects remove some problematic files in order to keep cache size reasonable [rust-analyzer](https://github.com/rust-analyzer/rust-analyzer/blob/9a7db8fa009c612168ef16f6ed72315b5406ed09/.travis.yml#L2-L4) [cargo duscussion](rust-lang/cargo#5885) [tantivity-search](https://github.com/tantivy-search/tantivy/pull/531/files) [clap-rs](https://github.com/clap-rs/clap/pull/1658/files#diff-354f30a63fb0907d4ad57269548329e3R5-R16) Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
- Loading branch information
Showing
1 changed file
with
213 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters