diff --git a/.ci/get_keys-windows.sh b/.ci/get_keys-windows.sh new file mode 100644 index 0000000000..1f6efc379c --- /dev/null +++ b/.ci/get_keys-windows.sh @@ -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" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 104ea0e179..06b5863151 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -59,10 +59,15 @@ jobs: vmImage: "windows-latest" steps: + - bash: .ci/get_keys-windows.sh + displayName: Get Cache Keys + - task: Cache@2 inputs: - key: $(Agent.OS) | $(COMPILER) + key: $(Agent.OS) | $(COMPILER) | "$(QT_VER)" | $(VULKAN_SDK_SHA) | llvm.lock | glslang.lock path: $(CACHE_DIR) + restoreKeys: | + $(Agent.OS) | $(COMPILER) displayName: Cache - bash: .ci/setup-windows.sh