feat(embassy-net): ability to turn off the modem #163
Workflow file for this run
This file contains hidden or 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: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: stable | |
| components: clippy, rustfmt, llvm-tools | |
| targets: thumbv8m.main-none-eabihf | |
| - uses: carlosperate/arm-none-eabi-gcc-action@v1 | |
| - run: cargo fmt -- --check | |
| - run: cargo clippy --features nrf9160 --target thumbv8m.main-none-eabihf -- -D warnings | |
| - run: cargo clippy --features nrf9160,dns-async,defmt,modem-trace,modem-log,embassy-net,embedded-nal-async --target thumbv8m.main-none-eabihf -- -D warnings | |
| - run: cargo clippy --features nrf9151,os-irq --target thumbv8m.main-none-eabihf -- -D warnings |