1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 19:31:52 +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 timezone: Europe/Paris
environment: environment:
OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH
CPUS: $(grep -c processor /proc/cpuinfo)
dependencies: dependencies:
override: override:
- sudo apt-get update - 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 - 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 : - sh build.sh prepare {tools,toolchain}/install -j $CPUS
timeout: 7200 - sh build.sh package/{compile,install,index} -j $CPUS
- sh build.sh package/{compile,install,index} -j4 :
timeout: 7200
cache_directories: cache_directories:
- "source"
- "feeds" - "feeds"
compile: compile:
override: override:
- make -C source target/install -j1 V=s : - make -C source target/install -j1 V=s
timeout: 9200
test: test:
override: override: