chore: minor demo fix #235
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: CI build | |
on: | |
push: | |
branches: ["master"] | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
branches: ["master"] | |
paths-ignore: | |
- "*.md" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use nightly Rust | |
# lock to 2024-08-23 and wait for embassy-executor to be updated | |
run: | | |
rustup default nightly-2024-08-23 | |
rustup component add rust-src | |
rustup target add riscv32imafc-unknown-none-elf | |
- name: Build Only | |
run: | | |
for d in $(ls -1 ./examples); do | |
if [ -f "./examples/$d/Cargo.toml" ]; then | |
(cd ./examples/$d && cargo build --release) | |
fi | |
done |