install_vdd: remove ALL stale MttVDD device nodes, not just the first #277
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Check server (Windows features) | |
| run: cargo check -p phantom-server --features audio | |
| - name: Check client (Windows features, no dav1d) | |
| run: cargo check -p phantom-client --no-default-features --features audio | |
| - name: Clippy | |
| run: cargo clippy -p phantom-server --features audio -p phantom-client --no-default-features --features audio -p phantom-core -p phantom-gpu -- -D warnings | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y \ | |
| libxcb1-dev libxcb-shm0-dev libxcb-randr0-dev libxdo-dev \ | |
| libdav1d-dev nasm cmake \ | |
| libpulse-dev libopus-dev libasound2-dev | |
| - name: Format | |
| run: cargo fmt --all -- --check | |
| - name: Build WASM (needed for server) | |
| run: | | |
| cargo install wasm-pack | |
| wasm-pack build crates/web --target web --no-typescript | |
| - name: Clippy | |
| run: cargo clippy --workspace -- -D warnings | |
| - name: Doc | |
| run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps | |
| - name: Test | |
| run: cargo test --workspace |