diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee8fc916291..8c5daa4d772 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,7 @@ env: CCACHE_COMPRESS: 1 CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_LIMIT_MULTIPLE: 0.95 + CCACHE_SLOPPINESS: pch_defines,time_macros defaults: run: diff --git a/ci/ci-script.bash b/ci/ci-script.bash index 225c9b50c35..2cd4fc25434 100755 --- a/ci/ci-script.bash +++ b/ci/ci-script.bash @@ -48,8 +48,11 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then autoconf ./configure --enable-longtests --enable-ccwarn ${CI_M32:+--enable-m32} ccache -z + ccache -p + export CCACHE_LOGFILE=$PWD/ccache.log "$MAKE" -j "$NPROC" -k ccache -s + cat $PWD/ccache.log if [ "$CI_OS_NAME" = "osx" ]; then file bin/verilator_bin file bin/verilator_bin_dbg