Skip to content

Commit

Permalink
CI: fix zephyr cmake error "No prj.conf file was found"
Browse files Browse the repository at this point in the history
Zephyr build requests to have a prj.conf file for build.
Create an empty one.

Signed-off-by: Arnaud Pouliquen <[email protected]>
  • Loading branch information
arnopo committed Apr 20, 2023
1 parent 05bcc7d commit cfab9f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ build_zephyr(){
cd ./zephyr &&
source zephyr-env.sh &&
cd ../.. &&
# The prj.conf is mandatory for cmake execution, create a void file.
touch prj.conf &&
echo "###### Build for qemu_cortex_m3 ######" &&
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_cortex_m3 -DWITH_TESTS=on -Bbuild-zephyr-m3 &&
cd build-zephyr-m3 &&
Expand Down

0 comments on commit cfab9f7

Please sign in to comment.