Skip to content

Commit

Permalink
workflows extracted everything to env. variables
Browse files Browse the repository at this point in the history
For easier updates and to minimize replace points/locations.
  • Loading branch information
silverqx committed Jun 10, 2024
1 parent c9eaa1d commit f9f211a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/clang-cl-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f9f211a

Please sign in to comment.