fix(ci): install gstreamer1.0-plugins-ugly (x264enc), create arduino-cli bindir & install RP2350 libs

This commit is contained in:
bleack committed 2026-11-26 00:22:50 +01:00
1 parent 1a24728be2
commit 56e048a578
2 files changed
+10 -4

No files matched your search

+9 -3
View File
@@ -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: |
+1 -1
View File
@@ -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
```