From 9c2c599de58093166274044375f2cebbb113ec18 Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Tue, 14 Apr 2026 16:08:21 +0200 Subject: [PATCH] ccache stats --- .gitea/workflows/ci.yml | 6 ++++++ .gitea/workflows/sonarqube.yml | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4f3f45c..c162ba6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,6 +31,9 @@ jobs: with: submodules: recursive + - name: Reset ccache stats + run: ccache --zero-stats + - name: Build run: | for build_type in Debug RelWithDebInfo Release; do @@ -51,6 +54,9 @@ jobs: -o bigfoot/*:tracy=False \ -o bigfoot/*:build_tools=True \ -o bigfoot/*:vulkan=True + + - name: Show ccache stats + run: ccache --show-stats - name: Upload run: conan upload "*" -r bigfootpackages --confirm diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index f566264..cf4e65e 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -25,17 +25,29 @@ jobs: fetch-depth: 0 submodules: recursive + - name: Reset ccache stats + run: ccache --zero-stats + - name: Build And Upload Conan Dependencies run: | conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/clang_coverage --build=missing -s build_type=Debug -o bigfoot/*:build_tests=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True conan upload "*" -r bigfootpackages --confirm + - name: Show ccache stats + run: ccache --show-stats + + - name: Reset ccache stats + run: ccache --zero-stats + - name: Build run: | conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/clang_coverage --build=never -s build_type=Debug -o bigfoot/*:build_tests=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True cmake -S . -B ./build/Debug --toolchain ./build/Debug/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Debug -G "Ninja" cmake --build build/Debug --parallel $(nproc) + - name: Show ccache stats + run: ccache --show-stats + - name: Clang-Tidy run: run-clang-tidy -p ./build/Debug/ >> tidy_result.txt