Skip to content

Bare metal: Switch from esp-idf-hal to esp-hal #2

Bare metal: Switch from esp-idf-hal to esp-hal

Bare metal: Switch from esp-idf-hal to esp-hal #2

Workflow file for this run

on:
push:
pull_request:
name: CI
jobs:
firmware-build:
name: Build and test firmware
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.82.0
target: riscv32imc-unknown-none-elf
override: true
- name: Run check
run: cd firmware && cargo check
rustfmt:
name: Check code formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.82.0
components: rustfmt
override: true
- run: cd firmware && cargo fmt -- --check