We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a652e commit 0ae7730Copy full SHA for 0ae7730
.github/workflows/ci.yml
@@ -159,9 +159,16 @@ jobs:
159
submodules: true
160
- name: Install prerequisites
161
run: sudo apt-get update && sudo apt-get install -y libomp-dev build-essential cmake
162
+ - name: Setup ccache
163
+ uses: hendrikmuhs/[email protected]
164
+ with:
165
+ key: ccache-${{ github.job }}
166
- name: Build and Test
167
run: |
- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
168
+ cmake -S . -B build \
169
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
170
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
171
+ -DCMAKE_BUILD_TYPE=Release
172
cmake --build build --parallel
173
cmake --build build -t test
174
env:
0 commit comments