Skip to content
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
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
watch_file flake.lock flake.nix
use flake
14 changes: 13 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ rustup target add \
thumbv6m-none-eabi \
thumbv7em-none-eabihf \
riscv32imac-unknown-none-elf \
wasm32-unknown-unknown
wasm32-unknown-unknown \
x86_64-unknown-linux-gnu

# formatting
cargo fmt --all --manifest-path source/postcard-rpc/Cargo.toml -- --check
Expand Down Expand Up @@ -60,6 +61,12 @@ cargo check \
--features=embedded-io-async-0_6-server \
--target thumbv7em-none-eabihf

# USB gadget (OTG) server impl
cargo check \
--manifest-path source/postcard-rpc/Cargo.toml \
--no-default-features \
--features=use-std,tokio,usb-gadget

# Example projects
cargo build \
--manifest-path example/workbook-host/Cargo.toml
Expand All @@ -77,6 +84,11 @@ cargo build \
--manifest-path example/esp32c6-serial/Cargo.toml \
--target riscv32imac-unknown-none-elf

# USB gadget (OTG)
cargo check \
--manifest-path example/server-usb-gadget/Cargo.toml \
--target x86_64-unknown-linux-gnu

# Test Project
cargo test \
--manifest-path source/postcard-rpc-test/Cargo.toml
Loading