From 1203a11a4d8507131c872efac8c0788b43c61bda Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Wed, 29 Oct 2025 15:58:33 -0300 Subject: [PATCH] use build matrix variables: USE_CCACHE --- .github/workflows/desktop-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 87a953bad..91bdf2cc8 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -259,6 +259,7 @@ jobs: qt_modules: qtimageformats qtmultimedia qtwebsockets cache_qt: false # qt caches take too much space for macOS (1.1Gi) cmake_generator: "Ninja" + use_ccache: 1 - os: macOS target: 14 @@ -274,6 +275,7 @@ jobs: qt_modules: qtimageformats qtmultimedia qtwebsockets cache_qt: false cmake_generator: "Ninja" + use_ccache: 1 - os: macOS target: 15 @@ -289,7 +291,7 @@ jobs: qt_modules: qtimageformats qtmultimedia qtwebsockets cache_qt: false cmake_generator: "Ninja" - + use_ccache: 1 - os: macOS target: 15 runner: macos-15 @@ -303,7 +305,7 @@ jobs: qt_modules: qtimageformats qtmultimedia qtwebsockets cache_qt: false cmake_generator: "Ninja" - + use_ccache: 1 - os: Windows target: 7 runner: windows-2022 @@ -383,7 +385,7 @@ jobs: PACKAGE_SUFFIX: '${{ matrix.package_suffix }}' CMAKE_GENERATOR: ${{ matrix.cmake_generator }} CMAKE_GENERATOR_PLATFORM: ${{ matrix.cmake_generator_platform }} - USE_CCACHE: ${{ matrix.os == 'macOS' && '1' || '' }} + USE_CCACHE: ${{ matrix.use_ccache }} VCPKG_DISABLE_METRICS: 1 VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite' # macOS-specific environment variables, will be ignored on Windows