Skip to content

Commit

Permalink
ci: Try building
Browse files Browse the repository at this point in the history
Install the target support for rust, and try running twister to see what
happens.

Signed-off-by: David Brown <[email protected]>
  • Loading branch information
d3zd3z committed Sep 12, 2024
1 parent 3c246de commit 452de0c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,20 @@ jobs:
toolchains: arm-zephyr-eabi
# TODO: Also bring in riscv.

- name: Install Rust Targets
shell: bash
run: |
rustup target add riscv32i-unknown-none-elf
rustup target add riscv64imac-unknown-none-elf
rustup target add thumbv6m-none-eabi
rustup target add thumbv7em-none-eabi
rustup target add thumbv7m-none-eabi
rustup target add thumbv8m.main-none-eabi
- name: Build firmware
working-directory: zephyr-rust-lang
shell: bash
run: |
set -x
pwd
echo $ZEPHYR_BASE
df -h
cargo --version
west twister -T samples -v --inline-logs --integration

0 comments on commit 452de0c

Please sign in to comment.