Skip to content

CI

CI #224

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- "**/README.md"
pull_request:
paths-ignore:
- "**/README.md"
schedule:
- cron: "50 7 * * *"
env:
CARGO_TERM_COLOR: always
SSID: ssid
PASSWORD: password
jobs:
hello-world:
name: intro/hello-world
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf
toolchain: nightly
components: rust-src
- run: cargo build --release
working-directory: intro/hello-world
examples:
name: ${{ matrix.project }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project:
["intro/blinky", "intro/button", "intro/button-interrupt", "intro/hello-world", "intro/panic", "intro/http-client", "advanced/stack_overflow_detection"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf
toolchain: nightly
components: rust-src
- run: cargo build --release --examples
working-directory: ${{ matrix.project }}