Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Since the Rust project isn't at the repo root, Travis-CI won't compiled cache artifacts by default. This leads to long CI times as all packages get recompiled (see https://docs.travis-ci.com/user/caching/#Rust-Cargo-cache for what gets cached).
In https://travis-ci.org/pitrou/arrow/jobs/376859806 I tried the following:
export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target
and after a first run, the build time went down to 2 minutes (from 15-18 minutes).
Attachments
Issue Links
- links to