Run ctest tests in parallel (#20137)

This commit is contained in:
Michał Janiszewski 2023-05-06 14:54:33 +02:00 committed by GitHub
parent 8627a5875f
commit 733eb07dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,5 +20,5 @@ if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
./tests --gtest_output=xml:../artifacts/test-results.xml "$@"
else
echo -e "\033[0;36mRunning OpenRCT2 tests...\033[0m"
ctest --output-on-failure --output-junit ../artifacts/test-results.xml "$@"
ctest -j 2 --output-on-failure --output-junit ../artifacts/test-results.xml "$@"
fi