mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 06:09:40 +00:00
try to use as many cores as possible
This commit is contained in:
parent
3f4d5598a5
commit
032768a505
1 changed files with 2 additions and 2 deletions
|
@ -23,9 +23,9 @@ before_script:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- nproc
|
- cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi
|
||||||
- mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../
|
- mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../
|
||||||
- make -j2
|
- make -j$cores_to_use
|
||||||
- DESTDIR=artifacts make install
|
- DESTDIR=artifacts make install
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue