Skip to content

Commit

Permalink
ci: print ccache statistics and configuration at end of CI run (llvm#…
Browse files Browse the repository at this point in the history
…1719)

There appear to be two problems with the caching layer in our CI runs:
(a) the sizes of some of the caches have grown to multiples of the
300 MB limit and (b) caching on Windows seems to be provide little to no
benefit.

To help understand the reasons for these problems, this patch adds a
line item to the list of steps run in CI to dump the ccache
configuration and statistics just prior to uploading the cache artifact.
  • Loading branch information
ashay authored Dec 14, 2022
1 parent a29f173 commit 64f9a0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,7 @@ jobs:
if: ${{ matrix.os-arch == 'windows-x86_64' }}
shell: bash
run: ./build_tools/python_deploy/build_windows_ci.sh

- name: Print ccache configuration and statistics
shell: bash
run: ccache --show-config --show-stats --print-stats

0 comments on commit 64f9a0e

Please sign in to comment.