Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows builder is not caching cargo and rust deps #358
Comments
|
Specifically, these variables should be added to the |
|
What about using |
|
@jeandudey That sounds great to me, and much better than my other hacky ideas! The one good thing to test locally is to make sure that env vars get properly expanded when set and used by Cargo, as otherwise the files will still end up in the directory that gets cleared every time! |
bors-servo
added a commit
that referenced
this issue
May 6, 2016
Add caching of Cargo and Rust bits to Windows r? @edunham @aneeshusa Fixes #358 I decided to use the msys home dir instead of `%APPDATA%` for consistency with the other unix builds, but could be convinced otherwise if we get to a point where Servo is not building inside of the msys/mingw environment. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/362) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to set the
CARGO_HOMEandSERVO_CACHE_DIRenvironment variables to something sensible to avoid wasting a ton of time on our Windows builder.Changes should be made to this file:
https://github.com/servo/saltfs/blob/master/buildbot/master/files/config/environments.py