36 lines
765 B
YAML
36 lines
765 B
YAML
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
|