Skip to content

Add support for hardwares that may not have the pcm format we want #10

Add support for hardwares that may not have the pcm format we want

Add support for hardwares that may not have the pcm format we want #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Download system deps
run: sudo apt-get update -y && sudo apt-get install -y libasound2-dev
- name: Checkout
uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
target: x86_64-unknown-linux-gnu
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy check
run: cargo clippy --all --all-targets --all-features -- -D warnings
- name: Build
run: cargo build
- name: Test
run: cargo test
verify_msrv:
name: Verify Minimum Supported Rust Version in Cargo.toml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download system deps
run: sudo apt-get update -y && sudo apt-get install -y libasound2-dev
- uses: cargo-bins/cargo-binstall@main
- name: Install cargo-msrv
run: cargo binstall cargo-msrv -y
- name: Verify Minimum Rust Version
run: cargo msrv verify