nrf9120 support #8
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: CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: clippy, rustfmt, llvm-tools-preview | |
targets: thumbv8m.main-none-eabihf | |
- run: cargo fmt -- --check | |
- run: cargo clippy --features nrf9160 --target thumbv8m.main-none-eabihf | |
- run: cargo clippy --features nrf9120 --target thumbv8m.main-none-eabihf |