Add nproc to CMake workflow

This commit is contained in:
Vadim Kuznetsov 2023-08-14 09:46:21 +03:00
parent b3bc871ea5
commit b8bf2c2778

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}}
run: cmake --build ${{github.workspace}}/build -j`nproc` --config ${{env.BUILD_TYPE}}
#- name: Test
# working-directory: ${{github.workspace}}/build