mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Not needed circle.yml here
This commit is contained in:
parent
6411b289ed
commit
3af9df250a
1 changed files with 0 additions and 62 deletions
62
circle.yml
62
circle.yml
|
@ -1,62 +0,0 @@
|
|||
machine:
|
||||
timezone: Europe/Paris
|
||||
environment:
|
||||
OMR_PATH: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BRANCH
|
||||
|
||||
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 -j2 :
|
||||
environment:
|
||||
OMR_TARGET: x86_64
|
||||
OMR_KEEPBIN: yes
|
||||
timeout: 7200
|
||||
- sh build.sh package/{compile,install,preconfig,index} -j2 :
|
||||
timeout: 7200
|
||||
environment:
|
||||
OMR_TARGET: x86_64
|
||||
OMR_KEEPBIN: yes
|
||||
- sh build.sh prepare {tools,toolchain}/install -j2 :
|
||||
environment:
|
||||
OMR_TARGET: rpi3
|
||||
OMR_KEEPBIN: yes
|
||||
timeout: 7200
|
||||
- sh build.sh package/{compile,install,preconfig,index} -j2 :
|
||||
timeout: 7200
|
||||
environment:
|
||||
OMR_TARGET: rpi3
|
||||
OMR_KEEPBIN: yes
|
||||
cache_directories:
|
||||
- "rpi3"
|
||||
- "x86_64"
|
||||
- "feeds"
|
||||
|
||||
compile:
|
||||
override:
|
||||
- make -C x86_64/source target/install -j2 :
|
||||
timeout: 7200
|
||||
- make -C rpi3/source target/compile -j2 :
|
||||
timeout: 7200
|
||||
- make -C rpi3/source package/compile -j2 :
|
||||
timeout: 7200
|
||||
- make -C rpi3/source target/install -j2 :
|
||||
timeout: 7200
|
||||
|
||||
test:
|
||||
override:
|
||||
- "true"
|
||||
|
||||
deployment:
|
||||
dev:
|
||||
branch: /.*/
|
||||
commands:
|
||||
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/$OMR_PATH
|
||||
- rsync -av --delete-after x86_64/source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/dev/x86_64
|
||||
- rsync -av --delete-after rpi3/source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/dev/rpi3
|
||||
release:
|
||||
tag: /v[0-9]+(\.[0-9]+)*/
|
||||
commands:
|
||||
- ssh -p $OMR_DEPLOY_PORT deploy@$OMR_DEPLOY_HOST mkdir -p deploy/release
|
||||
- rsync -av --delete-after x86_64/source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/release/x86_64
|
||||
- rsync -av --delete-after rpi3/source/bin/ -e "ssh -q -p $OMR_DEPLOY_PORT" deploy@$OMR_DEPLOY_HOST:deploy/release/rpi3
|
Loading…
Add table
Add a link
Reference in a new issue