1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update main.yml

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-09-11 09:46:43 +02:00 committed by GitHub
parent a7d641b24b
commit 2cb3ac285c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,17 +19,23 @@ jobs:
REPO_URL: https://github.com/ysurac/openmptcprouter
REPO_BRANCH: develop
run: |
git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt
git clone --depth 1 $REPO_URL -b $REPO_BRANCH openmptcprouter
- name: Build toolchain
working-directory: /openmptcprouter
env:
OMR_TARGET: ${{matrix.OMR_TARGET}}
OMR_FEED_URL: https://github.com/ysurac/openmptcprouter-feeds
OMR_FEED_SRC: develop
run: |
cd openmptcprouter
git checkout develop || true
git pull || true
export OMR_FEED_URL="https://github.com/ysurac/openmptcprouter-feeds"
export OMR_FEED_SRC="develop"
sh build.sh -j$(nproc)
sh build.sh prepare {tools,toolchain}/install -j$(nproc)
#echo -e "$OMR_PRIVKEY" > /home/runner/work/openmptcprouter-feeds/openmptcprouter-feeds/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build
#echo -e "$OMR_PUBKEY" > /home/runner/work/openmptcprouter-feeds/openmptcprouter-feeds/openmptcprouter/${{ env.OMR_TARGET }}/source/key-build.pub
- name: Build packages
working-directory: /openmptcprouter
run: |
make IGNORE_ERRORS=m package/{compile,install,index} -j$(nproc)
- name: Build image
working-directory: /openmptcprouter
run: |
make IGNORE_ERRORS=m target/install -j$(nproc)