diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2021-01-19 12:03:46 +0100 |
---|---|---|
committer | Dimitrios Apostolou <jimis@qt.io> | 2021-01-22 18:48:49 +0100 |
commit | e4194b6f9e90321a62f857434b42b597b2a8e15b (patch) | |
tree | 805ef24abfb0d55c92d26f49d0cd46b09b69c94f /.github | |
parent | 7ff1123711ea86a3be0654ac6b7648b92b337a7a (diff) |
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 <volker.hilsheimer@qt.io>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ninja-build.yml | 7 |
1 files 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 |