Skip to content

Commit af2cedb

Browse files
janisozaurbryanpkc
authored andcommitted
Enable ccache for GitHub Actions for release_11x
1 parent 822de2c commit af2cedb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/clang-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ jobs:
3535
- uses: actions/checkout@v1
3636
with:
3737
fetch-depth: 1
38+
- name: ccache
39+
uses: hendrikmuhs/ccache-action@v1
40+
with:
41+
key: ${{ matrix.os }}
3842
- name: Test clang
3943
uses: llvm/actions/build-test-llvm-project@main
4044
with:
41-
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
45+
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
4246
build_target: check-clang

0 commit comments

Comments
 (0)