From dcf2d1405fb79eb4682a33a78b06fbda470cc1d6 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 12 Sep 2019 19:11:36 +0200 Subject: appveyor: download sccache before attempting to start it --- .appveyor.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 746f3b059..082ac0f69 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -152,13 +152,15 @@ install: - cargo --version before_build: + # setup.py downloads sccache if necessary. + - python tools\setup.py + # Start sccache, then throw away the S3 access key. - ps: |- - sccache --start-server + prebuilt\win\sccache --start-server $env:AWS_SECRET_ACCESS_KEY = $null build_script: - - python tools\setup.py - cargo clippy --all-targets --release --locked -- -D clippy::all - cargo build -vv --release --all-targets --locked @@ -169,7 +171,7 @@ test_script: after_test: # Stop sccache and show stats. - - ps: sccache --stop-server + - prebuilt\win\sccache --stop-server # If this build is going to be deployed, build a zip file. - ps: |- -- cgit v1.2.3