Skip to content

Commit

Permalink
use ccache to speed up build
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Jan 16, 2024
1 parent 915bb05 commit 7e8c0d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: ccache
uses: hendrikmuhs/[email protected]

- name: Dependencies
run: |
sudo apt update
Expand Down Expand Up @@ -77,6 +79,8 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DWITH_STATIC=ON
-DWITH_NEL_TESTS=ON
-DWITH_NEL_SAMPLES=ON
Expand Down

0 comments on commit 7e8c0d1

Please sign in to comment.