Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2563

[Rust] Poor caching in Travis-CI

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              csun Chao Sun
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m