-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add task to cache cargo crates and use it for MacOS/Windows builds #9841
Conversation
Hmm, turns out the Android tasks don't build when the crates are vendored. It seems attempting to run the iOS will probably have exactly the same problem too. |
b0ba578
to
88404b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 Thank you!
Description
The rust crates used by our project are a fairly sizeable chunk of data to download on each job, and for the most part they are unlikely to change. This makes them well suited to be cached as a toolchain task. Furthermore, the existence of such a toolchain means that some of our build jobs could build directly out of git rather than needing to wait on
build-source/vpn
to download and vendor the crates for us.Some notes:
embedded-uniffi-bindgen
runs into crate version errors.build-source/vpn
because they also need some golang vendoring, and we hope to mirror the offline build environment for PPAs.Reference
Checklist