diff options
Diffstat (limited to 'Meta/Azure/Caches.yml')
-rw-r--r-- | Meta/Azure/Caches.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml index cd0a17ba4c..d96aa4361a 100644 --- a/Meta/Azure/Caches.yml +++ b/Meta/Azure/Caches.yml @@ -6,6 +6,20 @@ parameters: ccache_version: 1 # Increment this number if CI has trouble with ccache. steps: + - ${{ if ne(parameters.arch, 'Lagom') }}: + - ${{ if eq(parameters.toolchain, 'gcc') }}: + - task: Cache@2 + inputs: + key: '"toolchain" | "${{ parameters.arch }}" | Toolchain/BuildClang.sh | Userland/Libraries/LibC/**/*.h | Userland/Libraries/LibPthread/**/*.h' + path: $(Build.SourcesDirectory)/Toolchain/Cache + displayName: 'Toolchain Cache' + - ${{ if eq(parameters.toolchain, 'clang') }}: + - task: Cache@2 + inputs: + key: '"toolchain" | "${{ parameters.arch }}" | Toolchain/BuildIt.sh | Userland/Libraries/LibC/**/*.h | Userland/Libraries/LibPthread/**/*.h' + path: $(Build.SourcesDirectory)/Toolchain/Cache + displayName: 'Toolchain Cache' + - task: Cache@2 inputs: key: '"ccache" | "${{ parameters.os }}" | "${{ parameters.arch }}" | "${{ parameters.toolchain }}" | "${{ parameters.ccache_version }}"' |