Bump libm from 0.2.10 to 0.2.11 in /synth #34
Workflow file for this run
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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_cli: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./cli | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install dependencies | |
run: sudo apt install libasound2-dev | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test | |
- name: Clippy | |
run: cargo clippy --all-features -- --deny=warnings | |
- name: Format | |
run: cargo fmt -- --check | |
build_pico: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./pico | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: thumbv6m-none-eabi | |
- name: Install flip-link | |
run: cargo install flip-link | |
- name: Build | |
run: cargo build | |
- name: Clippy | |
run: cargo clippy --all-features -- --deny=warnings | |
- name: Format | |
run: cargo fmt -- --check |