horaedb icon indicating copy to clipboard operation
horaedb copied to clipboard

Cache build artifacts to improve CI execution time

Open waynexia opened this issue 3 years ago • 1 comments

Is your feature request related to a problem or challenge? Please describe what you are trying to do. CI is slow as it will build all crates twice

Description Only build workspace once. And reuse the artifact to run tests.

Proposal GitHub action provides a plugin cache to pass files across jobs that may help.

Additional context Add any other context or screenshots about the feature request here.

waynexia avatar May 27 '22 09:05 waynexia

A brilliant post about how to speed up rust builds, CI cache included https://matklad.github.io/2021/09/04/fast-rust-builds.html

waynexia avatar Jun 15 '22 03:06 waynexia