1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

ci: Use Azure blob storage for sccache (#4354)

This commit is contained in:
Ryan Dahl 2020-03-14 12:53:06 -04:00 committed by GitHub
parent cd293f7907
commit 1e28d6bdac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View file

@ -9,7 +9,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
os: [macOS-latest, windows-2019, ubuntu-16.04]
os: [macOS-latest, ubuntu-16.04, windows-2019]
kind: ['test_release', 'test_debug', 'bench', 'lint']
exclude:
- os: windows-2019
@ -106,7 +106,19 @@ jobs:
rustc --version
cargo --version
- name: Start sccache
- name: Start sccache (azure)
if: startsWith(matrix.os, 'windows') == false
env:
SCCACHE_AZURE_BLOB_CONTAINER: deno-sccache2
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.SCCACHE_AZURE_CONNECTION_STRING || 'DefaultEndpointsProtocol=https;AccountName=denosccache;EndpointSuffix=core.windows.net' }}
SCCACHE_IDLE_TIMEOUT: 0
run: sccache --start-server
# TODO(ry) We want to use Azure because it's cheaper. However sccache on
# Windows has a bug when using Azure. The bug manifests itself as a
# "multiple input files" error message.
- name: Start sccache (s3)
if: startsWith(matrix.os, 'windows')
env:
AWS_ACCESS_KEY_ID: AKIAIVRN52PLDBP55LBQ
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

@ -1 +1 @@
Subproject commit b1103a02e8112a20126c84d2d4751ed1302c8ade
Subproject commit d68a4eacf2b62ff43094a8dfe893869d716433c9