From fb3a26b961b6d56979d3bc4653b037e559874993 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sat, 21 Mar 2026 10:27:49 +0100 Subject: [PATCH] ci: add record-daemon build-deps --- .github/workflows/record-daemon.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/record-daemon.yml b/.github/workflows/record-daemon.yml index b23116b..0e25373 100644 --- a/.github/workflows/record-daemon.yml +++ b/.github/workflows/record-daemon.yml @@ -16,7 +16,7 @@ jobs: # Make sure that the program correctly builds, # passes format and lints, as well as tests build-test: - name: Format Check + name: Build, check and test runs-on: ubuntu-latest defaults: run: @@ -33,14 +33,19 @@ jobs: - name: Check format run: cargo fmt --check - - name: Lint - run: cargo clippy --all-targets --all-features + - name: Install system build dependencies + run: | + sudo apt-get update + sudo apt-get install -y pkg-config libglib2.0-dev libobs-dev libc6-dev clang - name: Build run: cargo build env: RUSTFLAGS: -Dwarnings + - name: Lint + run: cargo clippy --all-targets --all-features + - name: Run tests with verbose logging (timeout 30min) run: timeout 30m cargo test -- --nocapture env: