Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,16 @@ jobs:
# tests run code built from cached objects; drop the credential even
# if the compile fails.
trap 'rm -f "${RUNNER_TEMP}/ccache-netrc"' EXIT
CCACHE_MAXSIZE="600M"
CCACHE_MAXSIZE="300M"
CACHE_DIR="/cache"
mkdir /output
BASE_OUTDIR="/output"
source ./ci/dash/matrix.sh
./ci/dash/build_src.sh
{ echo "### ccache: ${BUILD_TARGET}"; echo '```'; ccache --show-stats; echo '```'; } >> "${GITHUB_STEP_SUMMARY}"
# Hits refresh mtime, so this keeps only what recent builds used
# and the saved cache stays near one build's working set.
ccache --evict-older-than 1d
ccache -c
du -hd0 "${BASE_OUTDIR}"
rm -rf "${BASE_OUTDIR}"
Expand Down
Loading