1
0
Fork 0
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:
Jacob Gadikian 2020-09-11 16:05:37 +07:00 committed by GitHub
parent 4e9d9ff823
commit 3ea531b188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/build.yml vendored Normal file
View 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