From 3f2a881a84904524c55e02e5c4fa201e3d945b8f 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 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 0f31bcfd..b9a9d995 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -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 }