From 45ccd33e132af9119ea8bdb9e1b337381131069b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 15 Nov 2023 20:29:20 +0300 Subject: [PATCH] GH Actions: Turn on cmake build/test in parallel --- .github/workflows/cmake-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 097700b2..ec0eeec6 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -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