helix-onchain / filecoin

Collection of libraries to implement common patterns and standards on the Filecoin Virtual Machine
Other
16 stars 14 forks source link

Test: Set CI environment to use Cargo's new sparse index protocol #194

Closed abright closed 1 year ago

abright commented 1 year ago

See https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html

Not sure if this will have much benefit for the way our CI builds, but it's worth testing to see if it does save a few minutes off the total runtime

coveralls commented 1 year ago

Coverage Status

Coverage: 87.131%. Remained the same when pulling cd3e3695c10e685b8244a617340130b7827a2658 on abright/cargo-sparse-test into 2d01f2693175bbb93de7ae1bba60fa4054f4acd5 on main.

abright commented 1 year ago

Since this stuff only affects cargo downloading its index, it doesn't seem to have much impact on our build times. Most of the time is spent building the many dependencies we have and there's no easy solutions there. Some typical approaches are to run dedicated hardware or to go down the rabbit hole of building inside containers with pre-built and cached dependencies (and then automating that to update in step with Cargo.lock, etc)