From 5038cd60a496d045f6da34ff5e21d73db370c5b4 Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Sat, 14 Mar 2026 21:35:55 -0300 Subject: [PATCH] use only sccache, don't use ninja --- .ci/compile.sh | 2 +- .github/workflows/desktop-build.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/compile.sh b/.ci/compile.sh index 3fdd7b839..452175469 100755 --- a/.ci/compile.sh +++ b/.ci/compile.sh @@ -244,7 +244,7 @@ if [[ $RUNNER_OS == macOS ]]; then flags+=(-DCPACK_COMMAND_HDIUTIL="$hdiutil_script") fi -elif [[ $RUNNER_OS == Windows ]] && [[ "$CMAKE_GENERATOR" != *Ninja* ]]; then +elif [[ $RUNNER_OS == Windows ]]; then # Enable MTT, see https://devblogs.microsoft.com/cppblog/improved-parallelism-in-msbuild/ buildflags+=(-- -p:UseMultiToolTask=true -p:EnableClServerMode=true) fi diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index cb6f3d7b6..b416950e1 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -319,7 +319,8 @@ jobs: qt_version: 6.10.* qt_arch: win64_msvc2022_64 qt_modules: qtimageformats qtmultimedia qtwebsockets - cmake_generator: Ninja + cmake_generator: "Visual Studio 17 2022" + cmake_generator_platform: x64 ccache_variant: sccache name: ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }}