From 1f72814b99de8bb9f8b7c59a09599f73d075cb94 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Sun, 26 Nov 2023 14:13:51 +0100 Subject: [PATCH] Update cmake.yml --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a851e16..e899dff 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -34,7 +34,7 @@ jobs: - name: Build # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc) + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(( $(nproc) - 2 )) - name: Test # Execute tests defined by the CMake configuration.