mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
use build matrix variables: USE_CCACHE
This commit is contained in:
parent
a2b4647e8d
commit
1203a11a4d
1 changed files with 5 additions and 3 deletions
8
.github/workflows/desktop-build.yml
vendored
8
.github/workflows/desktop-build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue