From 56e048a578fed269186a9e384eebbd392926816a Mon Sep 17 00:00:00 2001 From: bleack Date: Thu, 26 Nov 2026 00:22:50 +0100 Subject: [PATCH] fix(ci): install gstreamer1.0-plugins-ugly (x264enc), create arduino-cli bindir & install RP2350 libs --- .github/workflows/ci.yml | 12 +++++++++--- README.md | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5245dea..ab36952 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,14 @@ name: CI on: push: - branches: [main, "feat/**", "fix/**"] + branches: [main] pull_request: branches: [main] +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: CARGO_TERM_COLOR: always @@ -24,7 +28,7 @@ jobs: 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 \ + gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav \ libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev \ libvulkan-dev libopenxr-dev libgl1-mesa-dev libfontconfig1-dev @@ -62,8 +66,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install arduino-cli and rp2040 core + - name: Install arduino-cli, rp2040 core and firmware libraries run: | + mkdir -p "$HOME/.local/bin" 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 @@ -71,6 +76,7 @@ jobs: 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 + "$HOME/.local/bin/arduino-cli" lib install "Pico PIO USB" "Adafruit NeoPixel" - name: Compile g29_crsf firmware for Waveshare RP2350 Plus run: | diff --git a/README.md b/README.md index eccbd32..8594fc0 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ sudo apt update && sudo apt install -y \ 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 \ + gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav \ libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev libgl1-mesa-dev v4l-utils ```