Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bare minimum extra protection coprocessor #25

Merged
merged 2 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 1 addition & 48 deletions .github/workflows/koishi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,6 @@ jobs:
- name: Clippy
run: nix develop --command cargo clippy -- -Dwarnings

formatting-firmware-tests:
name: Formatting (firmware tests)
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./koishi/firmware-tests

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27

- name: Clippy
run: nix develop --command cargo clippy -- -Dwarnings

formatting-telemetry-receiver:
name: Formatting (telemetry-receiver)
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./koishi/telemetry-receiver

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 (firmware)
runs-on: ubuntu-latest
Expand All @@ -67,24 +39,5 @@ jobs:
- name: Build
working-directory: ./koishi/firmware
run: |
# Build as intended for hardware first
nix develop --command cargo build --release
nix develop --command cargo build --release --features reporting_postcard
# Build for simulator tests
nix develop --command cargo build --release --features simulator

- name: In Simulator Tests
working-directory: ./koishi/firmware-tests
run: nix develop --command cargo test

build-and-test-telemetry-receiver:
name: Build and Test (telemetry-receiver)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27

- name: Build
working-directory: ./koishi/firmware
run: nix develop --command cargo build
nix develop --command cargo build --release --features telemetry
47 changes: 47 additions & 0 deletions .github/workflows/satori.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
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

- run: rustup target add thumbv6m-none-eabi

- 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

- run: rustup target add thumbv6m-none-eabi

- name: Build
working-directory: ./satori/firmware
run: |
nix develop --command cargo build --release
nix develop --command cargo build --release --features panic-probe
Loading