use 2 less cores for ci

my poor sbc can't keep up
This commit is contained in:
2024-01-05 22:39:56 +01:00
parent e517551fb3
commit 33a2e5bf5e

View File

@@ -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.