Browse Source

chore(CI): Run tests in parallel

Faster, with the bonus of catching unexpected dependencies between tests.
reviewable/pr6503/r2
Anthony Bilinski 4 years ago
parent
commit
8a7461fc16
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 2
      .ci-scripts/build-osx.sh
  2. 2
      .ci-scripts/build-qtox-linux.sh
  3. 2
      windows/cross-compile/build.sh

2
.ci-scripts/build-osx.sh

@ -28,7 +28,7 @@ build_qtox() { @@ -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
}

2
.ci-scripts/build-qtox-linux.sh

@ -72,4 +72,4 @@ else @@ -72,4 +72,4 @@ else
fi
cmake --build . -- -j $(nproc)
cmake --build . --target test
ctest -j$(nproc)

2
windows/cross-compile/build.sh

@ -116,7 +116,7 @@ then @@ -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…
Cancel
Save