You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/05/09 15:31:00 UTC
[jira] [Created] (ARROW-2563) [Rust] Poor caching in Travis-CI
Antoine Pitrou created ARROW-2563:
-------------------------------------
Summary: [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
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
(v7.6.3#76005)