diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c8282fb25..dae5e733e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6db779c6d..3c75abc08 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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: | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b2b7e3971..edeb6a310 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9f0300f4f..cdae46afa 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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