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 11:00:01 +02:00 committed by GitHub
parent b37f223cb6
commit 2352b0c6ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,15 @@
name: Build OpenMPTCProuter
on: [push]
env:
REPO_URL: https://github.com/ysurac/openmptcprouter
REPO_BRANCH: develop
OMR_TARGET: x86_64
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
OMR_TARGET: ['x86_64']
steps:
- name: Prepare
@ -23,7 +25,6 @@ jobs:
- 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: |
@ -33,9 +34,9 @@ jobs:
- name: Build packages
working-directory: ./openmptcprouter
run: |
make IGNORE_ERRORS=m package/{compile,install,index} -j$(nproc)
make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j$(nproc)
- name: Build image
working-directory: ./openmptcprouter
run: |
make IGNORE_ERRORS=m target/install -j$(nproc)
make IGNORE_ERRORS=m -C $OMR_TARGET/source target/install -j$(nproc)