mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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 }}
|
||||
|
|
|
|||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_TESTS=ON -DVOXELENGINE_BUILD_APPDIR=1
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build -t install -j
|
||||
run: cmake --build build -t install -j 4
|
||||
|
||||
- name: Make fix_dylibs.sh executable
|
||||
run: chmod +x dev/fix_dylibs.sh
|
||||
|
|
|
|||
2
.github/workflows/windows-clang.yml
vendored
2
.github/workflows/windows-clang.yml
vendored
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||
cmake --build . --config Release -j
|
||||
cmake --build . --config Release -j 4
|
||||
- name: Package for Windows
|
||||
run: |
|
||||
mkdir packaged
|
||||
|
|
|
|||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||
run: |
|
||||
cmake --preset default-vs-msvc-windows
|
||||
cmake --build --preset default-vs-msvc-windows --config Release -j
|
||||
cmake --build --preset default-vs-msvc-windows --config Release -j 4
|
||||
- name: Run tests
|
||||
run: ctest --preset default-vs-msvc-windows
|
||||
- name: Run engine tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue