diff --git a/.gitea/workflows/build-gx12.yml b/.gitea/workflows/build-gx12.yml new file mode 100644 index 000000000..290894795 --- /dev/null +++ b/.gitea/workflows/build-gx12.yml @@ -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