Reduce ccache size to 250mb to reduce churn
across builds. Experimentally, 200mb are enough,
leave a bit of headroom
Also add options for cache housekeeping, and update
ccache-action to the latest release
uses: actions/checkout@v4
- name: Setup ccache
- uses: hendrikmuhs/ccache-action@v1.2.17
+ uses: hendrikmuhs/ccache-action@v1.2.19
with:
verbose: 2 # default 0
key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
+ max-size: "250MB"
+ evict-old-files: "28d"
- name: Run build on Linux
run: ./test-builds.sh ${{ matrix.layer.name }}
uses: actions/checkout@v4
- name: Setup ccache
- uses: hendrikmuhs/ccache-action@v1.2.17
+ uses: hendrikmuhs/ccache-action@v1.2.19
with:
verbose: 2 # default 0
key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
+ max-size: "250MB"
+ evict-old-files: "28d"
- name: Run test-builds
id: test-builds