Skip to content

Commit 2203448

Browse files
committed
testbuild br-msposd
1 parent 49e5890 commit 2203448

File tree

2 files changed

+45
-7
lines changed

2 files changed

+45
-7
lines changed

.github/workflows/build.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ jobs:
3030
- name: Upload binary
3131
uses: actions/upload-artifact@v4
3232
with:
33-
name: build-results
3433
path: |
35-
msposd_goke
36-
msposd_hisi
37-
msposd_star6b0
38-
msposd_star6e
39-
msposd_x86
34+
msposd_goke
35+
msposd_hisi
36+
msposd_star6b0
37+
msposd_star6e
38+
msposd_x86
4039
4140
- name: Versioned release
4241
if: startsWith(github.ref, 'refs/tags/')
@@ -50,7 +49,7 @@ jobs:
5049
msposd_x86
5150
5251
- name: Upload latest
53-
if: github.event_name != 'pull_request' && startsWith(github.ref, 'main')
52+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
5453
uses: softprops/action-gh-release@v2
5554
with:
5655
tag_name: latest

.github/workflows/firmware.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Testbuild of OpenIPC
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
buildroot:
10+
if: github.repository == 'openipc/msposd'
11+
name: Firmware
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
# Sigmastar [I6E]
18+
- {"platform": "ssc30kq", "release": "fpv"}
19+
- {"platform": "ssc338q", "release": "fpv"}
20+
21+
# Hisilicon [HI3516EV200]
22+
- {"platform": "hi3516ev200", "release": "fpv"}
23+
- {"platform": "hi3516ev300", "release": "fpv"}
24+
25+
# Hisilicon [HI3536DV100]
26+
- {"platform": "hi3536dv100", "release": "fpv"}
27+
28+
# Goke [GK7205V200]
29+
- {"platform": "gk7205v200", "release": "fpv"}
30+
- {"platform": "gk7205v210", "release": "fpv"}
31+
- {"platform": "gk7205v300", "release": "fpv"}
32+
steps:
33+
- name: Build OpenIPC
34+
env:
35+
MSPOSD_VERSION: ${{ env.COMMIT_SHA }}
36+
run: |
37+
git clone https://github.com/openipc/firmware --depth=1
38+
cd firmware
39+
make BOARD=${{matrix.platform}}_${{matrix.release}} MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd

0 commit comments

Comments
 (0)