From a8f4cf70a18ba2e1a631a975019615b487fd2485 Mon Sep 17 00:00:00 2001 From: Tadej Novak Date: Mon, 17 Apr 2023 20:10:36 +0200 Subject: [PATCH] [qt] Further ccache improvements (#1023) --- .github/workflows/qt-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qt-ci.yml b/.github/workflows/qt-ci.yml index 54773bacd..2d5d3b749 100644 --- a/.github/workflows/qt-ci.yml +++ b/.github/workflows/qt-ci.yml @@ -123,6 +123,7 @@ jobs: DEPLOYMENT_TARGET: ${{ matrix.deployment_target }} DEPLOYMENT_ARCH: ${{ matrix.deployment_arch }} QT_VERSION: ${{ matrix.qt_version }} + CCACHE_LOGFILE: ../ccache.log steps: - name: Checkout @@ -169,7 +170,8 @@ jobs: if: runner.os == 'Windows' shell: bash run: | - choco.exe upgrade ccache + # version is pinned due to issues with caching MSVC in 4.8 + choco.exe install ccache --version=4.7.5 --no-progress ccache.exe --version echo "CCACHE_CONFIGPATH=C:/Users/runneradmin/AppData/Roaming/ccache/ccache.conf" >> $GITHUB_ENV @@ -177,7 +179,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1 with: key: Qt_${{ matrix.name }}_${{ matrix.qt_version }} - append-timestamp: false - name: Build maplibre-gl-native (macOS) if: runner.os == 'macOS' && matrix.qt_target == 'desktop' @@ -224,6 +225,12 @@ jobs: ninja.exe ninja.exe install + - name: Upload ccache.log + uses: actions/upload-artifact@v3 + with: + name: ccache_${{ matrix.name }}_Qt${{ matrix.qt_version }} + path: ccache.log + - name: Create artifacts shell: bash env: