diff options
Diffstat (limited to 'Meta/Azure/Caches.yml')
-rw-r--r-- | Meta/Azure/Caches.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml new file mode 100644 index 0000000000..cd0a17ba4c --- /dev/null +++ b/Meta/Azure/Caches.yml @@ -0,0 +1,24 @@ +parameters: + os: 'Linux' + arch: 'i686' + toolchain: 'gcc' + build_directory: '' + ccache_version: 1 # Increment this number if CI has trouble with ccache. + +steps: + - task: Cache@2 + inputs: + key: '"ccache" | "${{ parameters.os }}" | "${{ parameters.arch }}" | "${{ parameters.toolchain }}" | "${{ parameters.ccache_version }}"' + path: $(CCACHE_DIR) + displayName: 'Compiler Cache' + + - task: Cache@2 + inputs: + key: '"unicode_data" | Userland/Libraries/LibUnicode/unicode_data.cmake' + path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/UCD + displayName: 'UnicodeData Cache' + + - script: | + ccache -M 5G + ccache -s + displayName: 'Configure ccache' |