From 3fa5d0bdfebd733e4311ee0e84b9841f14658e69 Mon Sep 17 00:00:00 2001 From: Henk Wiedig Date: Tue, 12 Nov 2024 23:49:09 +0100 Subject: [PATCH] testbuild --- .github/workflows/build.yml | 13 +----------- .github/workflows/firmware.yml | 39 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/firmware.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e252c43..8567814 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -70,4 +59,4 @@ jobs: msposd_hisi msposd_star6b0 msposd_star6e - msposd_x86 + msposd_x86 \ No newline at end of file diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml new file mode 100644 index 0000000..687878b --- /dev/null +++ b/.github/workflows/firmware.yml @@ -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 \ No newline at end of file