Skip to content

Add Framework LED Matrix Example #66

Add Framework LED Matrix Example

Add Framework LED Matrix Example #66

Workflow file for this run

name: build
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
rust:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'Cargo.lock'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
run: |
cargo build --target=thumbv6m-none-eabi
cd examples/adafruit_rgb && cargo build --target=thumbv6m-none-eabi
cd examples/ledmatrix && cargo build --examples
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'Cargo.lock'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
run: cargo doc