From c4c89c4ca17da51382022f9d3caadd79d89a5b87 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Fri, 17 Jan 2025 09:45:41 +0100 Subject: [PATCH] [CI] Use ccache on codecov job --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b3ab0f19..aec57b388 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -892,9 +892,15 @@ jobs: sudo apt-get install libomp-dev sudo apt-get install valgrind sudo apt-get install gcovr + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ github.job }} + create-symlink: true - name: CMake configure run: > cmake -S . -B build + -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D CMAKE_BUILD_TYPE=RELEASE