Skip to content

Commit

Permalink
testbuild br-msposd (#25)
Browse files Browse the repository at this point in the history
* testbuild br-msposd

* use github.sha
  • Loading branch information
henkwiedig authored Nov 15, 2024
1 parent 49e5890 commit 403c56d
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ jobs:
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: build-results
path: |
msposd_goke
msposd_hisi
msposd_star6b0
msposd_star6e
msposd_x86
msposd_goke
msposd_hisi
msposd_star6b0
msposd_star6e
msposd_x86
- name: Versioned release
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -50,7 +49,7 @@ jobs:
msposd_x86
- name: Upload latest
if: github.event_name != 'pull_request' && startsWith(github.ref, 'main')
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: softprops/action-gh-release@v2
with:
tag_name: latest
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Testbuild of OpenIPC

on:
pull_request:
branches:
- main

jobs:
buildroot:
if: github.repository == 'openipc/msposd'
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: ${{ github.sha }}
run: |
git clone https://github.com/openipc/firmware --depth=1
cd firmware
make BOARD=${{matrix.platform}}_${{matrix.release}} MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd

0 comments on commit 403c56d

Please sign in to comment.