From 392e1370ad7f0c1f287f5a021a3db993e6ecc2f9 Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Thu, 20 Apr 2023 14:01:52 +0200 Subject: [PATCH] CI: fix zephyr cmake error "No prj.conf file was found" Zephyr build requests to have a prj.conf file for build. Create an empty one. Signed-off-by: Arnaud Pouliquen --- .github/actions/build_ci/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 1a415b3c..c1a8f779 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -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 &&