Enable parallel build for CI, remove -j 4 flag everywhere, fixes #34

This commit is contained in:
Axel Isouard 2017-03-19 10:25:22 +01:00
parent 8970f2368b
commit c10f3458f0
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29
3 changed files with 4 additions and 8 deletions

View file

@ -43,10 +43,10 @@ install:
- git submodule update
- mkdir out
- cd out
- cmake -DNINJA_ARGS="-j 4" -DGN_EXTRA_ARGS="clang_use_chrome_plugins=false" ..
- cmake -DGN_EXTRA_ARGS="clang_use_chrome_plugins=false" ..
script:
- make package
- make -j 4 package
deploy:
provider: releases

View file

@ -209,11 +209,7 @@ perform cross-compiling.
- **NINJA_ARGS**
Arguments to pass while executing the `ninja` command. For instance, you can
define the number of cores you would like to use, in order to speed-up the
build process:
`cmake -DNINJA_ARGS="-j 4" ..`
Arguments to pass while executing the `ninja` command.
- **TARGET_OS**

View file

@ -13,7 +13,7 @@ build:
before_build:
- cd c:\projects\libwebrtc
- git submodule update --init --recursive
- cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=c:\projects\libwebrtc -DNINJA_ARGS="-j 2" .
- cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=c:\projects\libwebrtc .
artifacts:
- path: libwebrtc-0.0.1-rc.4-win32-x64.7z