diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-12-22 16:43:05 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-08 12:45:34 +0100 |
commit | 41f4a5050c80b738c45808b855be401ecff36d80 (patch) | |
tree | 9322f51a747db319a1c6f4938c1cc0fe18fd2400 /Meta | |
parent | 8669b25cea5be5f88caf8a1d6b1c89d3ff29f041 (diff) | |
download | serenity-41f4a5050c80b738c45808b855be401ecff36d80.zip |
CI: Add a cache for the IANA time zone database files
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Azure/Caches.yml | 10 | ||||
-rw-r--r-- | Meta/Azure/Lagom.yml | 4 | ||||
-rw-r--r-- | Meta/Azure/Toolchain.yml | 2 |
3 files changed, 11 insertions, 5 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' diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml index c9075ee916..475ea22714 100644 --- a/Meta/Azure/Lagom.yml +++ b/Meta/Azure/Lagom.yml @@ -39,9 +39,9 @@ jobs: build_directory: 'Meta/Lagom/Build' serenity_ccache_path: '$(SERENITY_CCACHE_DIR)' ${{ if eq(parameters.fuzzer, 'Fuzz') }}: - with_unicode_caches: false + with_remote_data_caches: false ${{ if eq(parameters.fuzzer, 'NoFuzz') }}: - with_unicode_caches: true + with_remote_data_caches: true - script: | mkdir -p Meta/Lagom/Build diff --git a/Meta/Azure/Toolchain.yml b/Meta/Azure/Toolchain.yml index 1abf363c41..02a8d5322a 100644 --- a/Meta/Azure/Toolchain.yml +++ b/Meta/Azure/Toolchain.yml @@ -21,7 +21,7 @@ jobs: toolchain: 'clang' toolchain_ccache_path: '$(LLVM_CCACHE_DIR)' toolchain_ccache_size: '$(LLVM_CCACHE_MAXSIZE)' - with_unicode_caches: false + with_remote_data_caches: false - script: ./Toolchain/BuildClang.sh --ci displayName: Build Toolchain |