From ae8a4a3366a253fff83ee3d8cdc9fe70de1eae42 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:29:57 -0400 Subject: [PATCH] Print sccache statistics after binary builds. (#559) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a848b801..5e09df1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -226,7 +226,11 @@ jobs: - name: build and cache run: | cd semver + + sccache --zero-stats cargo build + sccache --show-stats + mkdir ../bins mv target/debug/cargo-semver-checks ../bins/cargo-semver-checks @@ -271,7 +275,11 @@ jobs: - name: build and cache run: | cd semver + + sccache --zero-stats cargo build + sccache --show-stats + mkdir ..\bins mv target\debug\cargo-semver-checks.exe ..\bins\cargo-semver-checks.exe