Merge #18667: ci: Limit cache size regardless of NO_DEPENDS

0c6318788beaf1a31aeba5a21f3f8bb5c07cea6c ci: Limit cache size regardless of NO_DEPENDS (Hennadii Stepanov)

Pull request description:

  Close #18666.

ACKs for top commit:
  MarcoFalke:
    ACK 0c6318788beaf1a31aeba5a21f3f8bb5c07cea6c . Depends has ccache disabled anyway and is cached regardless of whether ccache is there or not, see #17248

Tree-SHA512: b1bf98be0f844b4704abd177841b014f3900be8160496f0d12596310db607b4f544547e8c3cbfcf17c086a78afd251653363f3dd467b769ac0062bc19adc8144
This commit is contained in:
MarcoFalke 2020-04-16 16:12:27 -04:00 committed by PastaPastaPasta
parent d9e766a7c5
commit 30e75239e8

View File

@ -31,8 +31,7 @@ if [ "$CHECK_DOC" = 1 ]; then
test/lint/extended-lint-all.sh
fi
command -v ccache > /dev/null && ccache --zero-stats
ccache --max-size=$CCACHE_SIZE
ccache --zero-stats --max-size=$CCACHE_SIZE
if [ -n "$CONFIG_SHELL" ]; then
export CONFIG_SHELL="$CONFIG_SHELL"
@ -54,7 +53,7 @@ cd dashcore-$BUILD_TARGET
make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
command -v ccache > /dev/null && ccache --version | head -n 1 && ccache --show-stats
ccache --version | head -n 1 && ccache --show-stats
if [ -n "$USE_VALGRIND" ]; then
echo "valgrind in USE!"