1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Another test to compile x86_64 on CircleCI

This commit is contained in:
Ycarus 2019-04-26 07:20:18 +02:00
parent 695fd0b3a8
commit 535282f60d

View file

@ -27,8 +27,8 @@ jobs:
- run:
name: cache
command: |
echo "cache 34 $OMR_TARGET" > /tmp/cache-target
echo "cache 38 $OMR_TARGET $OMR_VERSION" > /tmp/cache-version
echo "cache 35 $OMR_TARGET" > /tmp/cache-target
echo "cache 39 $OMR_TARGET $OMR_VERSION" > /tmp/cache-version
- restore_cache:
keys:
@ -45,6 +45,7 @@ jobs:
export OMR_PATH="$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/${CIRCLE_BRANCH:-$CIRCLE_TAG}"
export OMR_FEED_URL="$CIRCLE_REPOSITORY_URL"
export OMR_FEED_SRC="${CIRCLE_BRANCH:-$CIRCLE_TAG}"
sudo apt-get install -yq libelf-dev
sh build.sh prepare {tools,toolchain}/install -j2
echo -e "$OMR_PRIVKEY" > ~/openmptcprouter/$OMR_TARGET/source/key-build
echo -e "$OMR_PUBKEY" > ~/openmptcprouter/$OMR_TARGET/source/key-build.pub
@ -57,7 +58,7 @@ jobs:
- run:
name: Build
no_output_timeout: 30m
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/$OMR_TARGET/source target/compile -j1 V=s package/{compile,install,index} -j1 V=s target/install -j1 V=s
command: make IGNORE_ERRORS=m -C ~/openmptcprouter/$OMR_TARGET/source package/{compile,install,index} target/install -j1 V=s
- run:
name: Deploy