We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9955fd8 commit b0ecbe6Copy full SHA for b0ecbe6
1 file changed
.github/workflows/build_test.yml
@@ -16,6 +16,11 @@ jobs:
16
steps:
17
- uses: actions/checkout@v1
18
- uses: actions/setup-python@v1
19
+ - name: ccache
20
+ uses: hendrikmuhs/ccache-action@v1
21
+ with:
22
+ key: ${{ matrix.os }}-${{ matrix.type }}
23
+ max-size: 100M
24
- name: Get system dependencies
25
run: sudo apt-get update && sudo apt-get install -y
26
libwayland-dev
@@ -44,7 +49,7 @@ jobs:
44
49
env:
45
50
CC: gcc-10
46
51
CXX: g++-10
47
- run: cd build && cmake -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} ..
52
+ run: cd build && cmake -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..
48
53
- name: Build
54
run: cmake --build build -j $(nproc --all)
55
- name: Test
0 commit comments