add some output to the eviction step to measure effectiveness

This commit is contained in:
ebbit1q 2026-04-12 03:55:09 +02:00
parent 2e10b2f5d5
commit 26c33c9739
2 changed files with 14 additions and 2 deletions

View file

@ -187,10 +187,17 @@ jobs:
- name: Build debug and test
if: matrix.test != 'skip'
shell: bash
env:
package: '${{matrix.package}}'
run: |
source .ci/docker.sh
RUN --server --debug --test --ccache "$CCACHE_SIZE" \
--cmake-generator "$CMAKE_GENERATOR"
args=()
if [[ $GITHUB_REF == "refs/heads/master" && $package == "skip" ]]; then
args+=(--evict-ccache "$CCACHE_EVICTION_AGE")
fi
args+=(--ccache "$CCACHE_SIZE")
args+=(--cmake-generator "$CMAKE_GENERATOR")
RUN --server --debug --test "${args[@]}"
- name: Build release package
id: build