Robin Mueller
2e011d3043
Some checks failed
Rust/max116xx-10bit/pipeline/head There was a failure building this commit
44 lines
885 B
YAML
44 lines
885 B
YAML
on: push
|
|
|
|
name: ci
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
rust:
|
|
- stable
|
|
target:
|
|
- x86_64-unknown-linux-gnu
|
|
- thumbv6m-none-eabi
|
|
- armv7-unknown-linux-gnueabihf
|
|
- thumbv7em-none-eabihf
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: ${{ matrix.rust }}
|
|
target: ${{ matrix.target }}
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
use-cross: true
|
|
command: check
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --all -- --check
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
use-cross: true
|
|
command: clippy
|
|
args: -- -D warnings
|