ci: print ccache statistics and configuration at end of CI run (#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.
pull/1723/head
Ashay Rane 2022-12-14 09:50:43 -06:00 committed by GitHub
parent a29f173a6b
commit 64f9a0e978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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