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 4, 2022
1 parent 210b9ec commit 3f2a881
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,17 @@ build_zephyr(){
cd ./zephyr &&
source zephyr-env.sh &&
cd ../.. &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_cortex_m3 -DWITH_TESTS=on -Bbuild-zephyr &&
cd build-zephyr &&
echo "###### Build for qemu_cortex_m3 ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_cortex_m3 -DWITH_TESTS=on -Bbuild-zephyr-m3 &&
cd build-zephyr-m3 &&
make VERBOSE=1 &&
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 &&
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 3f2a881

Please sign in to comment.