1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

[CI, Cache] Add proper cache versioning (#8285)

This commit is contained in:
ZeeWanderer 2020-05-26 02:33:59 +03:00 committed by GitHub
parent f56b362769
commit 9d02231074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

4
.ci/get_keys-windows.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh -ex
curl -L -o "./llvm.lock" "https://github.com/RPCS3/llvm-mirror/releases/download/custom-build-win/llvmlibs_mt.7z.sha256"
curl -L -o "./glslang.lock" "https://github.com/RPCS3/glslang/releases/download/custom-build-win/glslanglibs_mt.7z.sha256"

View File

@ -59,10 +59,15 @@ jobs:
vmImage: "windows-latest" vmImage: "windows-latest"
steps: steps:
- bash: .ci/get_keys-windows.sh
displayName: Get Cache Keys
- task: Cache@2 - task: Cache@2
inputs: inputs:
key: $(Agent.OS) | $(COMPILER) key: $(Agent.OS) | $(COMPILER) | "$(QT_VER)" | $(VULKAN_SDK_SHA) | llvm.lock | glslang.lock
path: $(CACHE_DIR) path: $(CACHE_DIR)
restoreKeys: |
$(Agent.OS) | $(COMPILER)
displayName: Cache displayName: Cache
- bash: .ci/setup-windows.sh - bash: .ci/setup-windows.sh