Skip to content

Merge pull request #210 from Marsyew/feat/rtsp #837

Merge pull request #210 from Marsyew/feat/rtsp

Merge pull request #210 from Marsyew/feat/rtsp #837

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install
run: npm install
- name: Build Webui
run: npm run build
- name: Build
run: cargo build --release --all-targets --verbose
- name: Run tests
run: cargo test --all --verbose
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Show version information
run: |
cargo --version
cargo fmt --version
- name: Cargo format
run: cargo fmt --all -- --check
check_clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install
run: npm install
- name: Build Webui
run: npm run build
- name: Show version information
run: |
cargo --version
cargo clippy --version
- name: Cargo clippy
run: cargo clippy --all-targets --all-features --workspace -- -D warnings