Skip to content

Commit

Permalink
CI: add Zephyr build test for RISCV architecture
Browse files Browse the repository at this point in the history
Add CI build test for the RISCV32 and RISCV64 architecture.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
  • Loading branch information
arnopo committed Jan 19, 2022
1 parent 3ba1f1a commit 7c92538
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ build_zephyr(){
echo "###### Build for qemu_xtensa ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_xtensa -DWITH_TESTS=on -Bbuild-zephyr-xtensa &&
cd build-zephyr-xtensa &&
cd .. &&
echo "###### Build for qemu_riscv64 ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_riscv64 -DWITH_TESTS=on -Bbuild-zephyr-rscv64 &&
cd build-zephyr-rscv64 &&
make VERBOSE=1 &&
cd .. &&
echo "###### Build for qemu_riscv32 ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_riscv32 -DWITH_TESTS=on -Bbuild-zephyr-rscv32 &&
cd build-zephyr-rscv32 &&
make VERBOSE=1 &&
exit 0
}
Expand Down

0 comments on commit 7c92538

Please sign in to comment.