mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 11:21:55 +00:00
Use more CPU for CicleCI
This commit is contained in:
parent
3a723a8887
commit
3dd5a79493
1 changed files with 4 additions and 7 deletions
11
circle.yml
11
circle.yml
|
@ -2,23 +2,20 @@ machine:
|
|||
timezone: Europe/Paris
|
||||
environment:
|
||||
OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH
|
||||
CPUS: $(grep -c processor /proc/cpuinfo)
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -yq build-essential git unzip ncurses-dev libz-dev libssl-dev python subversion gettext gawk wget curl rsync perl
|
||||
- sh build.sh prepare {tools,toolchain}/install -j4 :
|
||||
timeout: 7200
|
||||
- sh build.sh package/{compile,install,index} -j4 :
|
||||
timeout: 7200
|
||||
- sh build.sh prepare {tools,toolchain}/install -j $CPUS
|
||||
- sh build.sh package/{compile,install,index} -j $CPUS
|
||||
cache_directories:
|
||||
- "source"
|
||||
- "feeds"
|
||||
|
||||
compile:
|
||||
override:
|
||||
- make -C source target/install -j1 V=s :
|
||||
timeout: 9200
|
||||
- make -C source target/install -j1 V=s
|
||||
|
||||
test:
|
||||
override:
|
||||
|
|
Loading…
Reference in a new issue