diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7b40b61d..5d6afd66 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -42,7 +42,6 @@ jobs: if: matrix.language == 'cpp' run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE env: CC: gcc-14 @@ -54,5 +53,8 @@ jobs: env: CC: gcc-14 CXX: g++-14 + - name: Show ccache stats + if: matrix.language == 'cpp' + run: ccache --show-stats - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index cae4532f..7b04a6b6 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -29,7 +29,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="-I$(brew --prefix)/opt/libomp/include" -DCMAKE_CXX_FLAGS="-I$(brew --prefix)/opt/libomp/include" -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install diff --git a/.github/workflows/static-analysis-pr.yml b/.github/workflows/static-analysis-pr.yml index 0c60be3e..47479443 100644 --- a/.github/workflows/static-analysis-pr.yml +++ b/.github/workflows/static-analysis-pr.yml @@ -43,7 +43,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON env: CC: clang-21 @@ -56,6 +55,8 @@ jobs: CC: clang-21 CXX: clang++-21 + - name: Show ccache stats + run: ccache --show-stats - name: Run clang-tidy uses: ./.github/actions/clang-tidy-native id: review @@ -91,7 +92,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON env: CC: gcc-14 @@ -104,6 +104,8 @@ jobs: CC: gcc-14 CXX: g++-14 + - name: Show ccache stats + run: ccache --show-stats - name: Run clang-tidy uses: ./.github/actions/clang-tidy-native id: review diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 7f93d82e..01569bfc 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -26,7 +26,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install env: CC: gcc-14 @@ -136,7 +135,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install env: CC: clang-21 @@ -240,7 +238,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RelWithDebInfo -D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON -D ENABLE_LEAK_SANITIZER=ON -D CMAKE_INSTALL_PREFIX=install @@ -351,7 +348,6 @@ jobs: - name: CMake configure run: > cmake -S . -B build -G Ninja - -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_VERBOSE_MAKEFILE=ON -D USE_COVERAGE=ON - name: Build project