Skip to content

Commit

Permalink
Use parallel build processes.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed Sep 23, 2021
1 parent f62e9c8 commit f20e18a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ jobs:

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -- -j4
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -j

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
run: ctest -C ${{matrix.build_type}} --output-on-failure -- -j2
run: ctest -C ${{matrix.build_type}} --output-on-failure -j2

4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -- -j4
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -j

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
run: ctest -C ${{matrix.build_type}} --output-on-failure -- -j2
run: ctest -C ${{matrix.build_type}} --output-on-failure -j2

2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -j

- name: Test
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit f20e18a

Please sign in to comment.