mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
CI: Cache downloaded Unicode CLDR database
This commit is contained in:
parent
ea21573ed8
commit
e883792fd4
2 changed files with 13 additions and 0 deletions
7
.github/workflows/cmake.yml
vendored
7
.github/workflows/cmake.yml
vendored
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue