Skip to content

race and short circuit on first completion #98

race and short circuit on first completion

race and short circuit on first completion #98

Workflow file for this run

name: Rust PR
on:
pull_request:
branches: [ main ] # run only when making a PR for main
env:
CARGO_TERM_COLOR: always
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Install libudev
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config librust-alsa-sys-dev
- uses: actions/checkout@v6.0.2
- uses: actions/setup-python@v6.2.0
- uses: pre-commit/action@v3.0.1
build:
runs-on: ubuntu-latest
steps:
- name: Install libudev
run: sudo apt-get update && sudo apt-get install libudev-dev pkg-config librust-alsa-sys-dev
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Build examples
run: cargo build --examples
- name: Run tests
run: cargo test --verbose