forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Use Azure caching for Lagom build
Adds a compiler cache and a cache for the UCD files.
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters