diff --git a/.github/workflows/clang-cl-qt6.yml b/.github/workflows/clang-cl-qt6.yml index 9e18d6d92..6b6f7e91d 100644 --- a/.github/workflows/clang-cl-qt6.yml +++ b/.github/workflows/clang-cl-qt6.yml @@ -27,6 +27,9 @@ jobs: runs-on: windows-2022 env: + # Initial build size 1.4G :/ + TINY_CCACHE_MAX_SIZE: 2G + TINY_LLVM_VERSION: 18.1.7 TINY_QT_VERSION: 6.7.1 TINY_QT_SPEC: msvc2019_64 @@ -616,10 +619,10 @@ jobs: C:/Program Files/LLVM key: llvm-18.1.7 - - name: Install LLVM and Clang 18.1.7 + - name: Install LLVM and Clang ${{ env.TINY_LLVM_VERSION }} uses: KyleMayes/install-llvm-action@v1 with: - version: 18.1.7 + version: ${{ env.TINY_LLVM_VERSION }} force-version: true cached: ${{ steps.llvm-cache.outputs.cache-hit }} @@ -651,8 +654,7 @@ jobs: - name: Ccache prepare configuration 🥳 run: | - # Initial build size 1.4G :/ - ccache.exe --set-config max_size=2G + ccache.exe --set-config max_size=$env:TINY_CCACHE_MAX_SIZE ccache.exe --set-config sloppiness=pch_defines,time_macros ccache.exe --set-config depend_mode=true ccache.exe --set-config inode_cache=true