summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@qt.io>2021-01-19 12:03:46 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-26 12:35:46 +0000
commit11ceb901d5e9ceea7c3176a852a7834e8721e727 (patch)
treec40813099021bfeb6f428b7a8d0434b18a479c1e /.github
parentab279af23ca3a82d9da47bd9482c0f76579f93e4 (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 Change-Id: I27d154a1ff1ea3afe111bd8f931db58c6f518809 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit e4194b6f9e90321a62f857434b42b597b2a8e15b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ninja-build.yml7
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