Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testbuild br-msposd #25

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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