diff options
| author | Bert Belder <bertbelder@gmail.com> | 2018-12-19 19:34:26 +0100 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2018-12-20 02:23:49 +0100 |
| commit | aac92cb70e106c3173c638e26d1b3e2e3d08fe70 (patch) | |
| tree | 48f80e99fb2eee50aa5c572157f38e7dc0ba6dff /.appveyor.yml | |
| parent | 9e70b0d10985ccf695b58872dafc7b0c33657372 (diff) | |
ci: start sccache early and throw away the S3 access key
This avoids accidentally leaking the key in the build log.
Diffstat (limited to '.appveyor.yml')
| -rw-r--r-- | .appveyor.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index df01ba343..42063da44 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -341,6 +341,11 @@ before_build: foreach { "$env:DENO_BUILD_PATH\$($Matches[1])" } Set-FilesNeeded -Auto -Path $outputs -Reason "Build dependency graph" + # Start sccache, then throw away the S3 access key. + - ps: |- + sccache --start-server + $env:AWS_SECRET_ACCESS_KEY = $null + build_script: # Build with Cargo first. Both builds produce a deno.exe in the same dir. We # want the final one (which gets tested and released) to be built by Ninja. @@ -363,6 +368,9 @@ after_test: # Remove stale files and empty dirs from the build directory. - ps: Stop-TraceFilesNeeded + # Stop sccache and show stats. + - ps: sccache --stop-server + # Verify that the build is fully up-to-date. Running ninja should be a no-op. # This catches erroneous file cleanup, and incorrectly set up build deps. - ps: |- |
