diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-08-16 13:20:54 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-17 13:31:43 +0100 |
commit | 3ce6f2692471340bcd3221cd7fc3e6335c37e6f6 (patch) | |
tree | 898001ce2a94240f235f14401fb577ed2070120a /Meta/Azure/Caches.yml | |
parent | 5eba8c948d57f8d144a66177ad4c75e99bffa991 (diff) | |
download | serenity-3ce6f2692471340bcd3221cd7fc3e6335c37e6f6.zip |
CI: Build and test SerenityOS with the Clang toolchain on Azure
Diffstat (limited to 'Meta/Azure/Caches.yml')
-rw-r--r-- | Meta/Azure/Caches.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml index cd0a17ba4c..d96aa4361a 100644 --- a/Meta/Azure/Caches.yml +++ b/Meta/Azure/Caches.yml @@ -6,6 +6,20 @@ parameters: ccache_version: 1 # Increment this number if CI has trouble with ccache. steps: + - ${{ if ne(parameters.arch, 'Lagom') }}: + - ${{ if eq(parameters.toolchain, 'gcc') }}: + - task: Cache@2 + inputs: + key: '"toolchain" | "${{ parameters.arch }}" | Toolchain/BuildClang.sh | Userland/Libraries/LibC/**/*.h | Userland/Libraries/LibPthread/**/*.h' + path: $(Build.SourcesDirectory)/Toolchain/Cache + displayName: 'Toolchain Cache' + - ${{ if eq(parameters.toolchain, 'clang') }}: + - task: Cache@2 + inputs: + key: '"toolchain" | "${{ parameters.arch }}" | Toolchain/BuildIt.sh | Userland/Libraries/LibC/**/*.h | Userland/Libraries/LibPthread/**/*.h' + path: $(Build.SourcesDirectory)/Toolchain/Cache + displayName: 'Toolchain Cache' + - task: Cache@2 inputs: key: '"ccache" | "${{ parameters.os }}" | "${{ parameters.arch }}" | "${{ parameters.toolchain }}" | "${{ parameters.ccache_version }}"' |