Disable incremental compilation on CI

We don’t keep the `target` directory between builds,
and incremental cache takes a lot of space.
This commit is contained in:
Simon Sapin 2018-01-09 15:55:10 +01:00
parent c8f542afac
commit cee2aadd82
3 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@ matrix:
env: env:
CCACHE=/usr/bin/ccache CCACHE=/usr/bin/ccache
RUSTFLAGS=-Dwarnings RUSTFLAGS=-Dwarnings
CARGO_INCREMENTAL=0
addons: addons:
apt: apt:
sources: sources:

View file

@ -2,6 +2,7 @@ version: 1.0.{build}
environment: environment:
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache" CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings RUSTFLAGS: -Dwarnings
# The appveyor image we use has a pretty huge set of things installed... we make the # The appveyor image we use has a pretty huge set of things installed... we make the

View file

@ -1,5 +1,6 @@
env: env:
RUSTFLAGS: -Dwarnings RUSTFLAGS: -Dwarnings
CARGO_INCREMENTAL: "0"
mac-rel-wpt1: mac-rel-wpt1:
- ./mach clean-nightlies --keep 3 --force - ./mach clean-nightlies --keep 3 --force