fix(ci): install SDL2 for Rust tests
This commit is contained in:
@@ -25,12 +25,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: System deps (cpal / Opus)
|
- name: System deps (cpal / Opus / SDL2)
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
libasound2-dev libpulse-dev pkg-config \
|
libasound2-dev libpulse-dev pkg-config \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
|
libsdl2-dev \
|
||||||
libopus-dev
|
libopus-dev
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
@@ -11,12 +11,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: System deps (cpal / Opus / SQLite)
|
- name: System deps (cpal / Opus / SQLite / SDL2)
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
libasound2-dev libpulse-dev pkg-config \
|
libasound2-dev libpulse-dev pkg-config \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
|
libsdl2-dev \
|
||||||
libopus-dev
|
libopus-dev
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
@@ -78,7 +78,13 @@ wildcards = "warn"
|
|||||||
highlight = "all"
|
highlight = "all"
|
||||||
# Crates we never want, regardless of license. Empty by default.
|
# Crates we never want, regardless of license. Empty by default.
|
||||||
deny = []
|
deny = []
|
||||||
skip = []
|
skip = [
|
||||||
|
# `tracing-android` still depends on android_log-sys 0.2.x while
|
||||||
|
# flutter_rust_bridge's `android_logger` uses 0.3.x. Both are
|
||||||
|
# Android-only logcat bindings; keep this targeted until upstreams
|
||||||
|
# converge.
|
||||||
|
{ name = "android_log-sys", version = "0.2.0" },
|
||||||
|
]
|
||||||
skip-tree = []
|
skip-tree = []
|
||||||
|
|
||||||
# ---------- Sources ----------
|
# ---------- Sources ----------
|
||||||
|
|||||||
Reference in New Issue
Block a user