Skip to content

Commit

Permalink
GH Actions: Turn on cmake build/test in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Nov 15, 2023
1 parent 5855667 commit 45ccd33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
# Build the code with the given configuration.
run: >
cmake --build ${{ steps.strings.outputs.build-output-dir }}
--config ${{ matrix.build_type }} --verbose
--config ${{ matrix.build_type }} --verbose --parallel
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
# Execute tests defined by the CMake configuration.
run: ctest --build-config ${{ matrix.build_type }} --verbose
run: ctest --build-config ${{ matrix.build_type }} --verbose --parallel 4

0 comments on commit 45ccd33

Please sign in to comment.