migrate from log to tracing #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
check: | |
name: Rust Linux ${{ matrix.rust }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: [stable] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update apt | |
run: sudo apt update | |
- name: Install alsa | |
run: sudo apt-get install libasound2-dev | |
- name: Install libjack | |
run: sudo apt-get install libjack-jackd2-dev libjack-jackd2-0 | |
- uses: actions/checkout@v2 | |
- name: Install minimal ${{ matrix.rust }} rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
override: true | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
- run: cargo -Vv && rustc -Vv | |
- run: cargo check | |
- run: cargo check --all-features | |
if: ${{ matrix.rust == 'stable' }} | |
- run: cargo fmt --all -- --check | |
if: ${{ matrix.rust == 'stable' }} | |
- run: cargo test | |
if: ${{ matrix.rust == 'stable' }} |