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 Aug 19, 2023
1 parent e4ea63b commit 59dba92
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 59dba92

Please sign in to comment.