Skip to content

Commit

Permalink
testbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
henkwiedig committed Nov 12, 2024
1 parent 4557850 commit 3fa5d0b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ jobs:
./build.sh star6e
./build.sh x86
- name: Build OpenIPC
env:
MSPOSD_VERSION: ${{ env.COMMIT_SHA }}
run: |
sudo apt-get update
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get -y install git make wget gcc libevent-dev libcsfml-dev file g++ cpio unzip rsync bc bzip2
cd firmware
make BOARD=ssc338q_fpv br-msposd-dirclean
sed -i "s/openipc/${GITHUB_REPOSITORY%/*}/" general/package/msposd/msposd.mk
make BOARD=ssc338q_fpv MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd
- name: Upload binary
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -70,4 +59,4 @@ jobs:
msposd_hisi
msposd_star6b0
msposd_star6e
msposd_x86
msposd_x86
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:
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: |
cd firmware
make BOARD=ssc338q_fpv br-msposd-dirclean
sed -i "s/openipc/${GITHUB_REPOSITORY%/*}/" general/package/msposd/msposd.mk
make BOARD=${{matrix.platform}}_${{matrix.release}} MSPOSD_VERSION=${MSPOSD_VERSION} br-msposd

0 comments on commit 3fa5d0b

Please sign in to comment.