Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Bump esp-hal versions #23

Bump esp-hal versions

Bump esp-hal versions #23

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Cancel any currently running workflows from the same PR, branch, or
# tag when a new workflow is triggered.
#
# https://stackoverflow.com/a/66336834
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
chip: [esp32c6, esp32h2]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imac-unknown-none-elf
toolchain: nightly
components: rust-src
- uses: Swatinem/rust-cache@v2
- name: check (${{ matrix.chip }})
run: cd esp-ieee802154/ && cargo check --features=${{ matrix.chip }}
- name: check examples (${{ matrix.chip }})
run: cd esp-ieee802154-examples/ && cargo check --examples --features=${{ matrix.chip }}