CircleCI: add CircleCI step to source manually /devenv.sh in build_board additional step

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Thierry Laurion 2024-05-01 12:10:14 -04:00
parent 70a9f93ddf
commit 76c20847da
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461

View File

@ -13,6 +13,8 @@ commands:
- run:
name: Make Board (console logs not contiguous because multiple CPUS used to build under CircleCI, see logs in artifacts or Output build failing logs below in case of failed step)
command: |
echo "Sourcing /devenv.sh since docker entrypoint doesn't do it as expected"
source /devenv.sh
rm -rf build/<<parameters.arch>>/<<parameters.target>>/* build/<<parameters.arch>>/log/*
make V=1 BOARD=<<parameters.target>> <<parameters.subcommand>> || touch ./tmpDir/failed_build
no_output_timeout: 3h