From c6c9679cfc2ab50dcc50268bdff4f410eaeffdad Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 28 Jul 2020 23:13:48 +0200 Subject: [PATCH] Travis: Show cache sizes before upload Uploading the cache takes several minutes. This gives us a handy way to tell which parts the worst culprits are. The Toolchain cache seems to be the worst offender by far, because the binary size nearly doubled when we upgraded from gcc9 to gcc10. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5e6358a673..75141e0ef3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,5 +46,8 @@ script: - CTEST_OUTPUT_ON_FAILURE=1 make test - cd Meta/Lagom - ./test-js +# These feel like they should go into a script. However, that would be a Travis-specific script, and this is *the* right place for travis-specific stuff. - cd "$SERENITY_ROOT"/Toolchain/Cache - du -ch * || true +- du -sch /home/travis/.ccache/* || true +- du -sch /var/cache/apt/archives/*.deb || true