I got lots of questions about slow Rust builds on GitHub CI lately.
Therefore, I wrote down a few tips that might help you make your builds much faster! 🏎
Here's the post:
https://corrode.dev/blog/tips-for-faster-ci-builds
Let me know if I missed any tips and I'll add them to the post.
[#]rustlang #rust #github
=> More informations about this toot | More toots from mre@mastodon.social
@mre beware that cargo nextest
doesn't (currently) run doctests! https://github.com/nextest-rs/nextest/issues/16
I guess a workaround for this would be to run cargo test --doc
in a separate step
=> More informations about this toot | More toots from pmmeurcatpics@ieji.de
@pmmeurcatpics okay. Good to know. Wanna add that to the article?
=> More informations about this toot | More toots from mre@mastodon.social
@mre I could take a stab at that, sure!
Oh and also – thanks for the article! I've been working on a Rust project I needed to set up CI for, but I struggled to find any Rust-specific articles on CI. I did peek into some other people's CI configs, but couldn't understand the motivation for some of their choices (CARGO_INCREMENTAL_BUILDS=0
in particular). So this article was really timely!
=> More informations about this toot | More toots from pmmeurcatpics@ieji.de
@pmmeurcatpics happy to help. Thanks for letting me know.
=> More informations about this toot | More toots from mre@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini