We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7e0c3d commit fad2876Copy full SHA for fad2876
ci/test/03_test_script.sh
@@ -148,11 +148,9 @@ cmake --build "${BASE_BUILD_DIR}" "$MAKEJOBS" --target $GOAL || (
148
)
149
150
bash -c "${PRINT_CCACHE_STATISTICS}"
151
-if [ "$CI" = "true" ]; then
152
- hit_rate=$(ccache -s | grep "Hits:" | head -1 | sed 's/.*(\(.*\)%).*/\1/')
153
- if [ "${hit_rate%.*}" -lt 75 ]; then
154
- echo "::notice title=low ccache hitrate::Ccache hit-rate in $CONTAINER_NAME was $hit_rate%"
155
- fi
+hit_rate=$(ccache --show-stats | grep "Hits:" | head -1 | sed 's/.*(\(.*\)%).*/\1/')
+if [ "${hit_rate%.*}" -lt 75 ]; then
+ echo "::notice title=low ccache hitrate::Ccache hit-rate in $CONTAINER_NAME was $hit_rate%"
156
fi
157
du -sh "${DEPENDS_DIR}"/*/
158
du -sh "${PREVIOUS_RELEASES_DIR}"
0 commit comments