mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
use only 4 threads for build
This commit is contained in:
parent
e4d8a34a48
commit
5b3733de94
4 changed files with 5 additions and 5 deletions
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue