Skip to content

Commit

Permalink
Merge branch 'run-test-in-parallel' into staging-repo-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Aug 31, 2023
2 parents 1f2d591 + 1103b8f commit 142d7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/actions/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run(self, env):
return

ctest = toolchain.ctest_binary()
sh.exec(*toolchain.shell_env, ctest,
sh.exec(*toolchain.shell_env, ctest, "--parallel", str(os.cpu_count()),
"--output-on-failure", working_dir=project_build_dir, check=True)
# Try to generate the coverage report. Will be ignored by ctest if no coverage data available.
sh.exec(*toolchain.shell_env, ctest,
Expand Down

0 comments on commit 142d7e1

Please sign in to comment.