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:
parent
f56b362769
commit
9d02231074
4
.ci/get_keys-windows.sh
Normal file
4
.ci/get_keys-windows.sh
Normal 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"
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user