diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index c1a8f779..dd1859ec 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -80,6 +80,10 @@ build_zephyr(){ cd ../.. && # The prj.conf is mandatory for cmake execution, create a void file. touch prj.conf && + # Add dummy fields in the VERSION file to fix compatibility with Zephyr + # version.cmake file + echo "PATCHLEVEL = 0" >>VERSION && + echo "VERSION_TWEAK = 0" >>VERSION && echo "###### Build for qemu_cortex_m3 ######" && cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_cortex_m3 -DWITH_TESTS=on -Bbuild-zephyr-m3 && cd build-zephyr-m3 &&