mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
fix(ci): install gstreamer1.0-plugins-ugly (x264enc), create arduino-cli bindir & install RP2350 libs
This commit is contained in:
1 parent
1a24728be2
commit
56e048a578
2 files changed
+10
-4
No files matched your search
@@ -2,10 +2,14 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, "feat/**", "fix/**"]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ci-${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
@@ -24,7 +28,7 @@ jobs:
|
|||||||
build-essential pkg-config \
|
build-essential pkg-config \
|
||||||
libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
||||||
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
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 \
|
libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev \
|
||||||
libvulkan-dev libopenxr-dev libgl1-mesa-dev libfontconfig1-dev
|
libvulkan-dev libopenxr-dev libgl1-mesa-dev libfontconfig1-dev
|
||||||
|
|
||||||
@@ -62,8 +66,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install arduino-cli and rp2040 core
|
- name: Install arduino-cli, rp2040 core and firmware libraries
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p "$HOME/.local/bin"
|
||||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$HOME/.local/bin" sh
|
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$HOME/.local/bin" sh
|
||||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||||
"$HOME/.local/bin/arduino-cli" config init
|
"$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
|
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 update-index
|
||||||
"$HOME/.local/bin/arduino-cli" core install rp2040:rp2040
|
"$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
|
- name: Compile g29_crsf firmware for Waveshare RP2350 Plus
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ sudo apt update && sudo apt install -y \
|
|||||||
build-essential pkg-config \
|
build-essential pkg-config \
|
||||||
libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
|
||||||
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
|
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
|
libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev libgl1-mesa-dev v4l-utils
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user