diff options
author | 2020-08-25 17:27:02 +0000 | |
---|---|---|
committer | 2020-08-25 17:27:02 +0000 | |
commit | 846aa5062fe8d076558deca539be4ca594a96ea8 (patch) | |
tree | b1224e827dd48f7c43a5b6d0540fbb44864dcd19 /macros/src/codegen/pre_init.rs | |
parent | f77226af16ac3da8012fba8c1f3cb1f424997706 (diff) | |
parent | 877d9458706bf0d4ee139ad41c586640911a0447 (diff) | |
download | rtic-846aa5062fe8d076558deca539be4ca594a96ea8.tar.gz rtic-846aa5062fe8d076558deca539be4ca594a96ea8.tar.zst rtic-846aa5062fe8d076558deca539be4ca594a96ea8.zip |
Merge #341
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](https://github.com/rust-lang/cargo/issues/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>
Diffstat (limited to 'macros/src/codegen/pre_init.rs')
0 files changed, 0 insertions, 0 deletions