summaryrefslogtreecommitdiff
path: root/Meta/Azure/Caches.yml
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-12-22 16:43:05 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-08 12:45:34 +0100
commit41f4a5050c80b738c45808b855be401ecff36d80 (patch)
tree9322f51a747db319a1c6f4938c1cc0fe18fd2400 /Meta/Azure/Caches.yml
parent8669b25cea5be5f88caf8a1d6b1c89d3ff29f041 (diff)
downloadserenity-41f4a5050c80b738c45808b855be401ecff36d80.zip
CI: Add a cache for the IANA time zone database files
Diffstat (limited to 'Meta/Azure/Caches.yml')
-rw-r--r--Meta/Azure/Caches.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml
index a71cf85c56..ca2d748048 100644
--- a/Meta/Azure/Caches.yml
+++ b/Meta/Azure/Caches.yml
@@ -7,7 +7,7 @@ parameters:
serenity_ccache_path: ''
toolchain_ccache_path: ''
toolchain_ccache_size: $(CCACHE_MAXSIZE)
- with_unicode_caches: true
+ with_remote_data_caches: true
steps:
- script: |
@@ -56,7 +56,13 @@ steps:
CCACHE_DIR=${{ parameters.serenity_ccache_path }} ccache -s
displayName: 'Configure Serenity ccache'
- - ${{ if eq(parameters.with_unicode_caches, true) }}:
+ - ${{ if eq(parameters.with_remote_data_caches, true) }}:
+ - task: Cache@2
+ inputs:
+ key: '"time_zone_data" | Meta/CMake/time_zone_data.cmake'
+ path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/TZDB
+ displayName: 'TimeZoneData Cache'
+
- task: Cache@2
inputs:
key: '"unicode_data" | Meta/CMake/unicode_data.cmake'