Skip to content

bump toolchain and deps #36

bump toolchain and deps

bump toolchain and deps #36

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
paths:
- "src/**"
- "build.rs"
pull_request:
branches: [ "master" ]
paths:
- "src/**"
- "build.rs"
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install alsa
run: sudo apt-get install alsa-base libasound2-dev libudev-dev
- name: Rustfmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --verbose
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install M1 target
run: rustup target add aarch64-apple-darwin
- name: Build x86
run: cargo build --verbose
- name: Build m1
run: cargo build --target aarch64-apple-darwin --verbose