Update compile.sh

This commit is contained in:
tooomm 2025-04-18 22:39:53 +02:00 committed by GitHub
parent 2786226e99
commit 0c59e49a57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,8 +185,8 @@ echo "::group::Build project"
if [[ $RUNNER_OS == Windows ]]; then
# Enable MTT, see https://devblogs.microsoft.com/cppblog/improved-parallelism-in-msbuild/
# and https://devblogs.microsoft.com/cppblog/cpp-build-throughput-investigation-and-tune-up/#multitooltask-mtt
# and https://devblogs.microsoft.com/cppblog/cpp-build-throughput-investigation-and-tune-up/#multitooltask-mtt
cmake --build . "${buildflags[@]}" -- -p:UseMultiToolTask=true -p:EnableClServerMode=true
# cmake --build . "${buildflags[@]}" -- -p:UseMultiToolTask=true -p:EnableClServerMode=true
cmake --build . "${buildflags[@]}"
else
cmake --build . "${buildflags[@]}"
fi
@ -223,7 +223,7 @@ if [[ $MAKE_PACKAGE ]]; then
if [[ $PACKAGE_SUFFIX ]]; then
echo "::group::Update package name"
cd ..
cd ..
BUILD_DIR="$BUILD_DIR" .ci/name_build.sh "$PACKAGE_SUFFIX"
echo "::endgroup::"
fi