Skip to content

Small clarifications to the comments #160

Small clarifications to the comments

Small clarifications to the comments #160

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
schedule:
- cron: "50 6 * * *"
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 thumbv6m-none-eabi
run: rustup target add thumbv6m-none-eabi
- name: Install libdbus
run: sudo apt-get install -y libdbus-1-dev
- name: Install libavahi-client
run: sudo apt-get install -y libavahi-client-dev
- name: Setup | Checkout
uses: actions/checkout@v3
- name: Build | Fmt Check
run: cd rs-matter-embassy; cargo fmt -- --check
- name: Build | Clippy
run: cd rs-matter-embassy; cargo clippy --no-deps -- -Dwarnings
- name: Build | Compile
run: cd rs-matter-embassy; cargo build
- name: Examples-ESP-Build | Fmt Check
run: cd examples/esp; cargo fmt -- --check
- name: Examples-ESP-Build | Clippy
env:
WIFI_SSID: "ssid"
WIFI_PASS: "pass"
run: cd examples/esp; cargo clippy --no-deps -- -Dwarnings
- name: Examples-ESP-Build | Compile
env:
WIFI_SSID: "ssid"
WIFI_PASS: "pass"
run: cd examples/esp; cargo build
- name: Examples-RP-Build | Fmt Check
run: cd examples/rp; cargo fmt -- --check
- name: Examples-RP-Build | Clippy
run: cd examples/rp; cargo clippy --no-deps -- -Dwarnings
- name: Examples-RP-Build | Compile
run: cd examples/rp; cargo build