ci: add record-daemon build-deps
Some checks failed
record-daemon / Build, check and test (push) Failing after 47s
record-daemon / Build Windows (xwin) (push) Has been skipped

This commit is contained in:
2026-03-21 10:27:49 +01:00
parent 9c2220d264
commit fb3a26b961

View File

@@ -16,7 +16,7 @@ jobs:
# Make sure that the program correctly builds, # Make sure that the program correctly builds,
# passes format and lints, as well as tests # passes format and lints, as well as tests
build-test: build-test:
name: Format Check name: Build, check and test
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
@@ -33,14 +33,19 @@ jobs:
- name: Check format - name: Check format
run: cargo fmt --check run: cargo fmt --check
- name: Lint - name: Install system build dependencies
run: cargo clippy --all-targets --all-features run: |
sudo apt-get update
sudo apt-get install -y pkg-config libglib2.0-dev libobs-dev libc6-dev clang
- name: Build - name: Build
run: cargo build run: cargo build
env: env:
RUSTFLAGS: -Dwarnings RUSTFLAGS: -Dwarnings
- name: Lint
run: cargo clippy --all-targets --all-features
- name: Run tests with verbose logging (timeout 30min) - name: Run tests with verbose logging (timeout 30min)
run: timeout 30m cargo test -- --nocapture run: timeout 30m cargo test -- --nocapture
env: env: