use only 4 threads for build

This commit is contained in:
Stepanov Igor 2025-10-05 22:39:07 +03:00
parent e4d8a34a48
commit 5b3733de94
4 changed files with 5 additions and 5 deletions

View file

@ -53,7 +53,7 @@ jobs:
git clone https://github.com/libsdl-org/SDL.git
cd SDL
cmake -G "Ninja Multi-Config" -B.build .
cmake --build .build --config Release -j
cmake --build .build --config Release -j 4
sudo cmake --install .build --config Release
cd ..
@ -68,7 +68,7 @@ jobs:
- name: Build
# Build your program with the given configuration
run: |
cmake --build ${{github.workspace}}/build --config ${{inputs.build_type}} -j
cmake --build ${{github.workspace}}/build --config ${{inputs.build_type}} -j 4
mv ${{github.workspace}}/build/VoxelEngine VoxelEngine
- name: Run tests
if: ${{ inputs.run_tests }}