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 c6ae2c6 commit 96ab85c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 96ab85c

Please sign in to comment.