ci: add manual GX12 firmware build
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: Build EdgeTX GX12
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: edgetx-build
|
||||
timeout-minutes: 90
|
||||
env:
|
||||
FLAVOR: gx12
|
||||
CMAKE_BUILD_PARALLEL_LEVEL: 4
|
||||
|
||||
steps:
|
||||
- name: Checkout EdgeTX source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build unmodified GX12 firmware
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
./tools/build-gh.sh
|
||||
test -f "gx12-$(git rev-parse --short HEAD).bin"
|
||||
sha256sum gx12-*.bin
|
||||
|
||||
- name: Upload GX12 firmware
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: edgetx-gx12-${{ github.sha }}
|
||||
retention-days: 30
|
||||
path: |
|
||||
gx12-*.bin
|
||||
LICENSE
|
||||
Reference in New Issue
Block a user