Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo tweaks for CI #2527

Merged
merged 5 commits into from
Oct 4, 2023
Merged

Cargo tweaks for CI #2527

merged 5 commits into from
Oct 4, 2023

Conversation

prasannavl
Copy link
Member

@prasannavl prasannavl commented Oct 3, 2023

Summary

  • Adds cargo caches on the CI to speed up deps compilations expect on staging or release builds.
  • Disable incremental cargo builds on CI to avoid unnecessary data.
  • Reduces rust debuginfo level to 1, as that's sufficient for most use cases, but will considerably reduce binary size

@prasannavl prasannavl changed the title Disable cargo incremental builds on CI Cargo tweaks for CI Oct 3, 2023
@prasannavl
Copy link
Member Author

Edit: This won't work on docker builds.

Related: #2114

@prasannavl
Copy link
Member Author

Full caching to be addressed later in #2114. This caches non dockerized builds until then.

@prasannavl prasannavl merged commit b1394b4 into master Oct 4, 2023
13 of 15 checks passed
@prasannavl prasannavl deleted the pvl/cargo-incr-disable branch October 4, 2023 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant