Skip to content

Commit

Permalink
CI: Add Zephyr build test for xtensa architecture
Browse files Browse the repository at this point in the history
This adds CI build test for Xtensa architecture.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
  • Loading branch information
dbaluta authored and arnopo committed Jan 19, 2022
1 parent bd3729a commit 3ba1f1a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,14 @@ 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_xtensa ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_xtensa -DWITH_TESTS=on -Bbuild-zephyr-xtensa &&
cd build-zephyr-xtensa &&
make VERBOSE=1 &&
exit 0
}
Expand Down

0 comments on commit 3ba1f1a

Please sign in to comment.