use only sccache, don't use ninja

This commit is contained in:
Bruno Alexandre Rosa 2026-03-14 21:35:55 -03:00
parent 61e16679f1
commit 5038cd60a4
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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' || '' }}