Skip to content

Commit 0bafa59

Browse files
committed
Update CI workflow to enable parallel testing in build jobs
1 parent 17fc4ec commit 0bafa59

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Test
2525
working-directory: ${{github.workspace}}/build
2626
run: |
27-
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
27+
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
2828
2929
ubuntu:
3030
runs-on: ubuntu-latest
@@ -44,7 +44,7 @@ jobs:
4444
working-directory: ${{github.workspace}}/build
4545
run: |
4646
export ASAN_OPTIONS="detect_leaks=1:halt_on_error=1:verbosity=1"
47-
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
47+
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
4848
4949
selfhosted:
5050
runs-on: self-hosted
@@ -56,7 +56,7 @@ jobs:
5656
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
5757
- name: Test
5858
working-directory: ${{github.workspace}}/build
59-
run: ctest -C ${{env.BUILD_TYPE}} -j
59+
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure --parallel
6060

6161

6262

0 commit comments

Comments
 (0)