From 7c925383a38b4bc882fa8ac3c289a08d0729a9fb Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Tue, 4 Jan 2022 11:23:15 +0100 Subject: [PATCH] CI: add Zephyr build test for RISCV architecture Add CI build test for the RISCV32 and RISCV64 architecture. Signed-off-by: Arnaud Pouliquen --- .github/actions/build_ci/entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 5c4be8af..8d8d8566 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -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 }