mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat(gpu,dvr,ci): image enhance/SBS/DMA-BUF, DVR .srt + Replay 30s, GPS Home arrow, CI & modular split
This commit is contained in:
1 parent
4aa4fc06e7
commit
b4642ddc95
33 files changed
+8279
-6092
No files matched your search
@@ -0,0 +1,79 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, "feat/**", "fix/**"]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
rust:
|
||||
name: Rust (Clippy & Unit Tests)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install native Linux dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
build-essential pkg-config \
|
||||
libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
||||
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
||||
gstreamer1.0-plugins-bad gstreamer1.0-libav \
|
||||
libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev \
|
||||
libvulkan-dev libopenxr-dev libgl1-mesa-dev libfontconfig1-dev
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
|
||||
- name: Cache Cargo registry & build artifacts
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Run cargo clippy (strict)
|
||||
run: cargo clippy --no-deps --all-targets -- -D warnings
|
||||
|
||||
- name: Run cargo test
|
||||
run: cargo test
|
||||
|
||||
scripts-and-python:
|
||||
name: Shell & Python Validation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate shell scripts syntax (bash -n)
|
||||
run: bash -n launch.sh launch_vr.sh scripts/*.sh
|
||||
|
||||
- name: Validate Python relay syntax (py_compile)
|
||||
run: python3 -m py_compile scripts/radxa_g29_relay.py
|
||||
|
||||
firmware-rp2350:
|
||||
name: Firmware RP2350 (g29_crsf.ino)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install arduino-cli and rp2040 core
|
||||
run: |
|
||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$HOME/.local/bin" sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
"$HOME/.local/bin/arduino-cli" config init
|
||||
"$HOME/.local/bin/arduino-cli" config set board_manager.additional_urls \
|
||||
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||
"$HOME/.local/bin/arduino-cli" core update-index
|
||||
"$HOME/.local/bin/arduino-cli" core install rp2040:rp2040
|
||||
|
||||
- name: Compile g29_crsf firmware for Waveshare RP2350 Plus
|
||||
run: |
|
||||
arduino-cli compile \
|
||||
--fqbn rp2040:rp2040:waveshare_rp2350_plus:usbstack=tinyusb \
|
||||
firmware/g29_crsf
|
||||
Reference in new issue
Block a user