Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Increased parallelism for building and testing in the Ubuntu and Windows workflows #370

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
- if: matrix.language == 'cpp'
name: Build fiction
working-directory: ${{github.workspace}}/build
run: cmake --build .
run: cmake --build . --config ${{matrix.build_type}} -j4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ jobs:

- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --config $BUILD_TYPE
run: cmake --build . --config $BUILD_TYPE -j4

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

run: ctest -C $BUILD_TYPE --verbose --output-on-failure --parallel 2
run: ctest -C $BUILD_TYPE --verbose --output-on-failure --parallel 4

- name: Setup and run lcov
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ jobs:

- name: Build fiction
working-directory: ${{github.workspace}}/build
run: cmake --build .
run: cmake --build . --config ${{matrix.build_type}} -j4

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{matrix.build_type}} --verbose --output-on-failure --parallel 2
run: ctest -C ${{matrix.build_type}} --verbose --output-on-failure --parallel 4
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ jobs:

- name: Build
working-directory: ${{github.workspace}}\build
run: cmake --build . --config ${{matrix.build_type}} -j2
run: cmake --build . --config ${{matrix.build_type}} -j4

- name: Test
working-directory: ${{github.workspace}}\build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{matrix.build_type}} --verbose --output-on-failure --parallel 2
run: ctest -C ${{matrix.build_type}} --verbose --output-on-failure --parallel 4
Loading