[
https://issues.apache.org/jira/browse/ARROW-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-2563:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/18917
> [Rust] Poor caching in Travis-CI
> --------------------------------
>
> Key: ARROW-2563
> URL: https://issues.apache.org/jira/browse/ARROW-2563
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Continuous Integration, Rust
> Reporter: Antoine Pitrou
> Assignee: Chao Sun
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0
>
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> 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:
> {code}
> export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target
> {code}
> and after a first run, the build time went down to 2 minutes (from 15-18
> minutes).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)