Fix CMake parallel flag for MSVC

This commit is contained in:
Alexander Grund 2025-06-09 14:17:49 +02:00
parent 66bfbe115c
commit 3980cc97e1
No known key found for this signature in database
GPG key ID: AA48A0760367A42B

View file

@ -195,8 +195,8 @@ jobs:
compiler_launcher_arg=-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
fi
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBoost_ROOT="$BOOST_ROOT/stage" -DCMAKE_CXX_STANDARD="${CXX_STANDARD##*,}" $compiler_launcher_arg -DCMAKE_VERBOSE_MAKEFILE=ON -DBoost_DEBUG=ON -DBoost_VERBOSE=ON
cmake --build . --config Debug -- -j3
ctest --output-on-failure --build-config Debug -j3
cmake --build . --config Debug --parallel 3
ctest --output-on-failure --build-config Debug --parallel 3
- name: Cleanup Boost folder to reduce cache usage
if: ${{ always() }}