Ancestors

Written by Matthias Endler on 2025-01-28 at 16:40

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

Toot

Written by radentscheider on 2025-01-28 at 18:12

@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

Descendants

Written by Matthias Endler on 2025-01-28 at 18:57

@pmmeurcatpics okay. Good to know. Wanna add that to the article?

=> More informations about this toot | More toots from mre@mastodon.social

Written by radentscheider on 2025-01-28 at 19:07

@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

Written by Matthias Endler on 2025-01-28 at 20:24

@pmmeurcatpics happy to help. Thanks for letting me know.

=> More informations about this toot | More toots from mre@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113907338370389613
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
293.257628 milliseconds
Gemini-to-HTML Time
1.052382 milliseconds

This content has been proxied by September (3851b).