summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cmake.yml7
-rw-r--r--Meta/Azure/Caches.yml6
2 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 9ce0402988..0e190afac1 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -120,12 +120,19 @@ jobs:
run: |
mkdir -p ${{ github.workspace }}/Build
mkdir -p ${{ github.workspace }}/Build/UCD
+ mkdir -p ${{ github.workspace }}/Build/CLDR
- name: UnicodeData cache
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged.
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
with:
path: ${{ github.workspace }}/Build/UCD
key: UnicodeData-${{ hashFiles('Userland/Libraries/LibUnicode/unicode_data.cmake') }}
+ - name: UnicodeLocale Cache
+ # TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged.
+ uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
+ with:
+ path: ${{ github.workspace }}/Build/CLDR
+ key: UnicodeLocale-${{ hashFiles('Userland/Libraries/LibUnicode/unicode_data.cmake') }}
- name: Create build environment with extra debug options
working-directory: ${{ github.workspace }}/Build
# Build the entire project with all available debug options turned on, to prevent code rot.
diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml
index 99a9b1aa27..5d1f2abfb2 100644
--- a/Meta/Azure/Caches.yml
+++ b/Meta/Azure/Caches.yml
@@ -38,6 +38,12 @@ steps:
path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/UCD
displayName: 'UnicodeData Cache'
+ - task: Cache@2
+ inputs:
+ key: '"unicode_locale" | Userland/Libraries/LibUnicode/unicode_data.cmake'
+ path: $(Build.SourcesDirectory)/${{ parameters.build_directory }}/CLDR
+ displayName: 'UnicodeLocale Cache'
+
- script: |
ccache -M 5G
ccache -s