Skip to content

Run CI on other operating systems #359

Run CI on other operating systems

Run CI on other operating systems #359

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
if: runner.os == 'Linux'
- name: check
run: cargo check
- name: examples
run: cargo check --examples
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all-targets --all-features -- -Dwarnings
- name: tests
run: cargo test --all-features