From e4194b6f9e90321a62f857434b42b597b2a8e15b Mon Sep 17 00:00:00 2001 From: Dimitrios Apostolou Date: Tue, 19 Jan 2021 12:03:46 +0100 Subject: Github Actions: install old ccache version on Windows ccache 4.0 is crashing consistently. Fix is merged upstream, but it's not released yet: https: //github.com/ccache/ccache/pull/736 Pick-to: 6.0 Change-Id: I27d154a1ff1ea3afe111bd8f931db58c6f518809 Reviewed-by: Volker Hilsheimer --- .github/workflows/ninja-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ninja-build.yml b/.github/workflows/ninja-build.yml index 66c15f2860..a53940fce0 100644 --- a/.github/workflows/ninja-build.yml +++ b/.github/workflows/ninja-build.yml @@ -41,7 +41,8 @@ jobs: install_cmd_postfix: --yes --no-progress # Chocolatey sqlite package does not come with headers, so we build with bundled sqlite. #deps: sqlite - tools: ninja ccache + # ccache installed separately later in order to force version + tools: ninja # We don't want the system headers / libraries from Strawberry Perl while compiling with MinGW 8.1.0 configure_flags: -qt-sqlite -qt-pcre -qt-zlib -qt-freetype -qt-libpng -qt-libjpeg -no-feature-sql-psql -no-feature-sql-mysql -no-feature-sql-odbc runs-on: ${{ matrix.os }} @@ -56,7 +57,9 @@ jobs: if: runner.os == 'Windows' # Header pthread.h from postgres is included and creates issues. # Also library zlib.lib is linked instead of the system one. - run: rm -rf "C:/Program Files/PostgreSQL/" + run: | + rm -rf "C:/Program Files/PostgreSQL/" + choco install ccache --version 3.7.12 --yes --no-progress --not-silent --verbose --debug - uses: actions/checkout@v2 -- cgit v1.2.3