Skip to content

Commit

Permalink
ci: run tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Sep 2, 2023
1 parent 6abb167 commit c6e04f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:

# FIXME: skip `string_reg` test (libtiff lzma build failure)
- name: Test
run: ctest --test-dir build --build-config Release --output-on-failure --exclude-regex '^string_reg$'
run: ctest --test-dir build --build-config Release --output-on-failure --parallel 3 --exclude-regex '^string_reg$'

- name: Install
run: cmake --build build --config Release --target install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: cmake --build build --config ${{env.BUILD_TYPE}}

- name: Test
run: ctest --test-dir build --build-config ${{env.BUILD_TYPE}} --output-on-failure
run: ctest --test-dir build --build-config ${{env.BUILD_TYPE}} --output-on-failure --parallel 3

- name: Install
run: sudo cmake --build build --config ${{env.BUILD_TYPE}} --target install

0 comments on commit c6e04f0

Please sign in to comment.