mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Create build.yml
This commit is contained in:
parent
4e9d9ff823
commit
3ea531b188
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build.yml
vendored
Normal file
24
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# matrix build for openmptcprouter official hardware
|
||||||
|
|
||||||
|
name: matrix
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
device: [bpi-r2, p2w_r619ac, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: sudo apt-get -y install git-core build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev busybox curl rsync gettext
|
||||||
|
- name: build images
|
||||||
|
run: OMR_TARGET="${{ matrix.device }}" OMR_FEED_SRC="master" ./build.sh
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.device }}
|
||||||
|
path: source/bin
|
Loading…
Add table
Add a link
Reference in a new issue