Skip to content

feat(monitoring): Add config inspector and reconnect functionality [v… #101

feat(monitoring): Add config inspector and reconnect functionality [v…

feat(monitoring): Add config inspector and reconnect functionality [v… #101

Workflow file for this run

name: Rust CI (build, lint, test)
on:
push:
branches: [ stage, main ]
pull_request:
branches: [ stage, main ]
workflow_dispatch: # allow manual runs (useful to trigger full integration)
inputs:
run_integration:
description: 'Run PipeWire integration tests (requires suitable runner)'
required: false
default: 'false'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install system dependencies (GTK, ALSA, PipeWire, WirePlumber)
run: |
sudo apt-get update -y
sudo apt-get install -y build-essential pkg-config libglib2.0-dev libgtk-3-dev libasound2-dev libpipewire-0.3-dev pipewire wireplumber
- name: Set up Rust toolchain (actions-rs/toolchain)
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
override: true
- name: Cache Cargo and target
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: cargo fmt check
run: cargo fmt --all -- --check
- name: cargo clippy (warn only)
run: cargo clippy --all-targets --all-features
- name: Run tests
env:
CI: "true"
GITHUB_ACTIONS: "true"
RUN_PIPEWIRE_INTEGRATION: ${{ github.event.inputs.run_integration || 'false' }}
run: cargo test --workspace --all-features --verbose