diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-09-12 19:11:36 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-09-12 19:38:38 +0200 |
commit | dcf2d1405fb79eb4682a33a78b06fbda470cc1d6 (patch) | |
tree | 60fae54cdf7ae663cba0ee01731c0e356ba0a409 | |
parent | 152de0129e6bf7108df46af6e22867dd94ce2049 (diff) |
appveyor: download sccache before attempting to start it
-rw-r--r-- | .appveyor.yml | 8 |
1 files 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: |- |