mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
c30c7d7f4d
commit
c561e4ae00
1 changed files with 21 additions and 19 deletions
|
@ -1,5 +1,18 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
|
prepare:
|
||||||
|
machine: true
|
||||||
|
timezone: Europe/Paris
|
||||||
|
|
||||||
|
working_directory: ~/
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Prepare
|
||||||
|
command: |
|
||||||
|
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
|
||||||
|
|
||||||
build_x86:
|
build_x86:
|
||||||
machine: true
|
machine: true
|
||||||
timezone: Europe/Paris
|
timezone: Europe/Paris
|
||||||
|
@ -12,14 +25,6 @@ jobs:
|
||||||
working_directory: ~/
|
working_directory: ~/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run:
|
|
||||||
name: Prepare
|
|
||||||
command: |
|
|
||||||
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
|
|
||||||
echo "cache 1 $OMR_TARGET" > /tmp/cache-target
|
|
||||||
echo "cache 4 $OMR_TARGET $OMR_VERSION" > /tmp/cache-version
|
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- cache-{{ checksum "/tmp/cache-version" }}
|
- cache-{{ checksum "/tmp/cache-version" }}
|
||||||
|
@ -69,14 +74,6 @@ jobs:
|
||||||
working_directory: ~/
|
working_directory: ~/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run:
|
|
||||||
name: Prepare
|
|
||||||
command: |
|
|
||||||
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
|
|
||||||
echo "cache 1 $OMR_TARGET" > /tmp/cache-target
|
|
||||||
echo "cache 4 $OMR_TARGET $OMR_VERSION" > /tmp/cache-version
|
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- cache-{{ checksum "/tmp/cache-version" }}
|
- cache-{{ checksum "/tmp/cache-version" }}
|
||||||
|
@ -101,7 +98,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: make -C ~/openmptcprouter/$OMR_TARGET/source package/{compile,install,index} target/install -j2
|
command: make -C ~/openmptcprouter/$OMR_TARGET/source package/{compile,install,index} target/compile -j2 package/compile -j2 target/install -j2
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
|
@ -119,5 +116,10 @@ workflows:
|
||||||
version: 2
|
version: 2
|
||||||
main:
|
main:
|
||||||
jobs:
|
jobs:
|
||||||
- build_x86
|
- prepare
|
||||||
- build_rpi3
|
- build_x86:
|
||||||
|
requires:
|
||||||
|
- prepare
|
||||||
|
- build_rpi3:
|
||||||
|
requires:
|
||||||
|
- prepare
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue