mirror of https://github.com/qTox/qTox
chore(CI): Run tests in parallel
Faster, with the bonus of catching unexpected dependencies between tests.pull/6503/head
parent
4fcc2251f4
commit
8a7461fc16
|
@ -28,7 +28,7 @@ build_qtox() {
|
|||
-DCMAKE_PREFIX_PATH="$(brew --prefix qt5)" .
|
||||
make -j$(sysctl -n hw.ncpu)
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
make test
|
||||
ctest -j$(sysctl -n hw.ncpu)
|
||||
make install
|
||||
}
|
||||
|
||||
|
|
|
@ -72,4 +72,4 @@ else
|
|||
fi
|
||||
|
||||
cmake --build . -- -j $(nproc)
|
||||
cmake --build . --target test
|
||||
ctest -j$(nproc)
|
||||
|
|
|
@ -116,7 +116,7 @@ then
|
|||
export WINEPATH='/export;/windows/bin'
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
export PATH="$PATH:/opt/wine-stable/bin"
|
||||
make test
|
||||
ctest -j$(nproc)
|
||||
fi
|
||||
set -u
|
||||
|
||||
|
|
Loading…
Reference in New Issue