1
0
Fork 0
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:
Ycarus 2018-01-25 19:45:49 +01:00
parent 3a723a8887
commit 3dd5a79493

View file

@ -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: