Bare minimum extra protection coprocessor #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Satori | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'flake.*' | |
- 'satori/**' | |
pull_request: | |
paths: | |
- 'flake.*' | |
- 'satori/**' | |
jobs: | |
formatting-firmware: | |
name: Formatting | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./satori/firmware | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
- name: Clippy | |
run: nix develop --command cargo clippy -- -Dwarnings | |
build-and-test-firmware: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
- name: Build | |
working-directory: ./satori/firmware | |
run: | | |
nix develop --command cargo build --release | |
nix develop --command cargo build --release --features panic-probe |