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:
parent
b37f223cb6
commit
2352b0c6ff
1 changed files with 7 additions and 6 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -1,13 +1,15 @@
|
||||||
name: Build OpenMPTCProuter
|
name: Build OpenMPTCProuter
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
env:
|
||||||
|
REPO_URL: https://github.com/ysurac/openmptcprouter
|
||||||
|
REPO_BRANCH: develop
|
||||||
|
OMR_TARGET: x86_64
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
OMR_TARGET: ['x86_64']
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
@ -23,7 +25,6 @@ jobs:
|
||||||
- name: Build toolchain
|
- name: Build toolchain
|
||||||
working-directory: ./openmptcprouter
|
working-directory: ./openmptcprouter
|
||||||
env:
|
env:
|
||||||
OMR_TARGET: ${{matrix.OMR_TARGET}}
|
|
||||||
OMR_FEED_URL: https://github.com/ysurac/openmptcprouter-feeds
|
OMR_FEED_URL: https://github.com/ysurac/openmptcprouter-feeds
|
||||||
OMR_FEED_SRC: develop
|
OMR_FEED_SRC: develop
|
||||||
run: |
|
run: |
|
||||||
|
@ -33,9 +34,9 @@ jobs:
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
working-directory: ./openmptcprouter
|
working-directory: ./openmptcprouter
|
||||||
run: |
|
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
|
- name: Build image
|
||||||
working-directory: ./openmptcprouter
|
working-directory: ./openmptcprouter
|
||||||
run: |
|
run: |
|
||||||
make IGNORE_ERRORS=m target/install -j$(nproc)
|
make IGNORE_ERRORS=m -C $OMR_TARGET/source target/install -j$(nproc)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue