Skip to content

Commit 59c00fa

Browse files
committed
Use sccache
1 parent 1d74156 commit 59c00fa

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/conan.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
runs-on: ubuntu-24.04
1111

1212
steps:
13+
- name: Run sccache-cache
14+
uses: mozilla-actions/[email protected]
15+
1316
- name: Checkout repository
1417
uses: actions/checkout@v4
1518

@@ -28,7 +31,9 @@ jobs:
2831
run: |
2932
cmake --preset conan-release \
3033
-DSPARROW_IPC_BUILD_TESTS=ON \
31-
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING
34+
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING \
35+
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
36+
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
3237
3338
- name: Build tests
3439
working-directory: build/build/Release
@@ -37,3 +42,7 @@ jobs:
3742
- name: Run tests
3843
working-directory: build/build/Release
3944
run: cmake --build . --config Release --target run_tests_with_junit_report
45+
46+
- name: Run sccache stat for check
47+
shell: bash
48+
run: ${SCCACHE_PATH} --show-stats

0 commit comments

Comments
 (0)