feat(api): add set_link_mode method for Thread link mode configuration #85
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: | |
| paths-ignore: | |
| - "**/README.md" | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| rust_toolchain: nightly | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| compile: | |
| name: Compile | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| target: | |
| - default | |
| steps: | |
| - name: Setup | Rust | |
| uses: dtolnay/rust-toolchain@v1 | |
| with: | |
| toolchain: ${{ env.rust_toolchain }} | |
| components: rustfmt, clippy, rust-src | |
| - name: Setup | Rust thumbv7em-none-eabi | |
| run: rustup target add thumbv7em-none-eabi | |
| - name: Setup | Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Build | Fmt Check | |
| run: cd openthread; cargo fmt -- --check | |
| - name: Build | Clippy | |
| run: cd openthread; cargo clippy --no-deps --features udp,srp,edge-nal,embassy-net-driver-channel,log -- -Dwarnings | |
| - name: Build | Clippy - defmt | |
| run: export DEFMT_LOG=trace;cd openthread; cargo clippy --no-deps --features udp,srp,edge-nal,embassy-net-driver-channel,defmt -- -Dwarnings | |
| - name: Build | Compile | |
| run: cd openthread; cargo build | |
| - name: Examples-ESP-Build | Fmt Check | |
| run: cd examples/esp; cargo fmt -- --check | |
| - name: Examples-ESP-Build | Clippy | |
| run: cd examples/esp; cargo clippy --no-deps -- -Dwarnings | |
| - name: Examples-ESP-Build | Compile | |
| run: cd examples/esp; cargo build | |
| - name: Examples-NRF-Build | Fmt Check | |
| run: cd examples/nrf; cargo fmt -- --check | |
| - name: Examples-NRF-Build | Clippy | |
| run: cd examples/nrf; cargo clippy --no-deps -- -Dwarnings | |
| - name: Examples-NRF-Build | Compile | |
| run: cd examples/nrf; cargo build |