forked from OpenIPC/msposd
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.37 KB
/
firmware.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Testbuild of OpenIPC
on:
pull_request:
branches:
- main
jobs:
buildroot:
name: Firmware
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Sigmastar [I6E]
- {"platform": "ssc30kq", "release": "fpv"}
- {"platform": "ssc338q", "release": "fpv"}
# Hisilicon [HI3516EV200]
- {"platform": "hi3516ev200", "release": "fpv"}
- {"platform": "hi3516ev300", "release": "fpv"}
# Hisilicon [HI3536DV100]
- {"platform": "hi3536dv100", "release": "fpv"}
# Goke [GK7205V200]
- {"platform": "gk7205v200", "release": "fpv"}
- {"platform": "gk7205v210", "release": "fpv"}
- {"platform": "gk7205v300", "release": "fpv"}
steps:
- name: Build OpenIPC
env:
MSPOSD_VERSION: ${{ env.COMMIT_SHA }}
run: |
#git clone https://github.com/openipc/firmware --depth=1
git clone --branch fix-msposd-issues-19 https://github.com/henkwiedig/firmware.git --depth=1
cd firmware
sed -i "s/openipc/${GITHUB_REPOSITORY%/*}/" general/package/msposd/msposd.mk
make BOARD=${{matrix.platform}}_${{matrix.release}} MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd-dirclean
make BOARD=${{matrix.platform}}_${{matrix.release}} MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd