Skip to content

Commit 452de0c

Browse files
committed
ci: Try building
Install the target support for rust, and try running twister to see what happens. Signed-off-by: David Brown <[email protected]>
1 parent 3c246de commit 452de0c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,20 @@ jobs:
3737
toolchains: arm-zephyr-eabi
3838
# TODO: Also bring in riscv.
3939

40+
- name: Install Rust Targets
41+
shell: bash
42+
run: |
43+
rustup target add riscv32i-unknown-none-elf
44+
rustup target add riscv64imac-unknown-none-elf
45+
rustup target add thumbv6m-none-eabi
46+
rustup target add thumbv7em-none-eabi
47+
rustup target add thumbv7m-none-eabi
48+
rustup target add thumbv8m.main-none-eabi
49+
4050
- name: Build firmware
4151
working-directory: zephyr-rust-lang
4252
shell: bash
4353
run: |
44-
set -x
45-
pwd
46-
echo $ZEPHYR_BASE
47-
df -h
4854
cargo --version
55+
56+
west twister -T samples -v --inline-logs --integration

0 commit comments

Comments
 (0)