From 96ab85cc371fa7aa3a70cd32c9b9ee840057ce6d 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 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 0f31bcfd..aec5d65d 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -74,8 +74,19 @@ 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 && + 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 }