Mercurial > octave
changeset 31336:c94baad7be99 stable
GitHub-CI (ubuntu): Reduce ccache size to approx. 2x the size after a clean run.
* .github/workflows/make.yaml (ubuntu): Reduce ccache size to approx. 2x the
cache size when started with an empty cache.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 24 Oct 2022 15:11:52 +0200 |
parents | 927c8d7bd8f3 |
children | 8f228a5bf5e1 62ae909d8989 |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/make.yaml Sun Oct 23 23:06:35 2022 +0200 +++ b/.github/workflows/make.yaml Mon Oct 24 15:11:52 2022 +0200 @@ -25,12 +25,21 @@ compiler-pkgs: "clang" cc: "clang" cxx: "clang++" - # "ccache" on Ubuntu 20.04 with gcc seems to require much more cache - # storage than on the other runners to work effectively. - - ccache-max: 3G + # "ccache" on Ubuntu 20.04 doesn't compress the cache. + # Clang seems to generally require less cache size (smaller object files?). + - ccache-max: 1.2G - os: ubuntu-20.04 compiler: gcc ccache-max: 6G + - os: ubuntu-22.04 + compiler: gcc + ccache-max: 1.2G + - os: ubuntu-20.04 + compiler: clang + ccache-max: 3G + - os: ubuntu-22.04 + compiler: clang + ccache-max: 400M env: CC: ${{ matrix.cc }}