# HG changeset patch # User Markus Mützel # Date 1682189988 -7200 # Node ID c00d842608f7c3e4ff5a569c26940c8a69fd01de # Parent 1c99c8f020f788b23ee4c26dbc51a0985ca447da GitHub-CI (mingw): Reduce ccache size to approx. 2x the size after a clean run. * .github/workflows/make.yaml (mingw): Reduce ccache size to approx. 2x the cache size when started with an empty cache. diff -r 1c99c8f020f7 -r c00d842608f7 .github/workflows/make.yaml --- a/.github/workflows/make.yaml Sat Apr 22 19:01:35 2023 +0200 +++ b/.github/workflows/make.yaml Sat Apr 22 20:59:48 2023 +0200 @@ -379,6 +379,7 @@ cxx: g++ f77: gfortran extra-config-flags: "" + ccache-max: 0.9G - msystem: CLANG64 mingw-prefix: clang64 target-prefix: mingw-w64-clang-x86_64 @@ -393,6 +394,7 @@ --enable-fortran-calling-convention=gfortran ac_cv_f77_compiler_gnu=yes lt_cv_prog_gnu_ld=yes + ccache-max: 400M env: CHERE_INVOKING: 1 @@ -506,7 +508,7 @@ run: | which ccache test -d ${{ steps.ccache-prepare.outputs.ccachedir }} || mkdir -p ${{ steps.ccache-prepare.outputs.ccachedir }} - echo "max_size = 0.9G" > ${{ steps.ccache-prepare.outputs.ccachedir }}/ccache.conf + echo "max_size = ${{ matrix.ccache-max }}" > ${{ steps.ccache-prepare.outputs.ccachedir }}/ccache.conf echo "compression = true" >> ${{ steps.ccache-prepare.outputs.ccachedir }}/ccache.conf ccache -p ccache -s