Add ccache eviction to debug builds as well

This commit is contained in:
tooomm 2026-09-05 18:15:16 +02:00 committed by GitHub
parent 61e6a9913e
commit 761aa0ce1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,8 +176,12 @@ jobs:
shell: bash
run: |
source .ci/docker.sh
RUN --server --debug --test --ccache "$CCACHE_SIZE" \
--cmake-generator "$CMAKE_GENERATOR"
args=()
[[ $GITHUB_REF == "refs/heads/master" ]] && args+=(--evict-ccache "$CCACHE_EVICTION_AGE")
args+=(--ccache "$CCACHE_SIZE")
args+=(--cmake-generator "$CMAKE_GENERATOR")
RUN --server --debug --test "${args[@]}"
- name: "Build release package"
id: build