There was an error while loading. Please reload this page.
1 parent 7ae1064 commit ec5b75fCopy full SHA for ec5b75f
1 file changed
.github/workflows/build-linux.yml
@@ -18,6 +18,12 @@ jobs:
18
steps:
19
- uses: actions/checkout@v1
20
21
+ - name: Setup ccache
22
+ uses: hendrikmuhs/ccache-action@v1.2
23
+ with:
24
+ key: ${{ github.job }}-${{ runner.os }}
25
+ max-size: "1000M"
26
+
27
- name: Prepare File Tree
28
run: |
29
mkdir ./build
@@ -30,6 +36,8 @@ jobs:
30
36
31
37
cmake .. \
32
38
-G Ninja \
39
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
40
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
33
41
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
34
42
-DBUILD_SHARED_LIBS=ON \
35
43
-DCMAKE_PREFIX_PATH="${DEPS_INSTALL_DIR}" \
0 commit comments