mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-13 15:56:37 +00:00
CircleCI: clarify AVAILABLE_MEM_GB=8 usage, which results in CircleCI passing: -j8 --load-average=12 from current Makefile helper
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
382949d8f4
commit
25ffc3e59c
@ -16,7 +16,9 @@ commands:
|
||||
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/*
|
||||
#Force -j8 so that each make subtask consumes 1gb max and force respect of minimal requirements of CircleCI which otherwise randomly fails
|
||||
#Pass AVAILABLE_MEM_GB=8 to respect CircleCI free tier RAM assignation, which otherwise randomly fails. See Makefile calculations.
|
||||
# Without AVAILABLE_MEM_GB=8: CircleCI passes '-j36 --load-average=54'
|
||||
# With AVAILABLE_MEM_GB=8: CircleCI passes '-j8 --load-average=12'
|
||||
make V=1 BOARD=<< parameters.target >> << parameters.subcommand >> AVAILABLE_MEM_GB=8 | ts || touch ./tmpDir/failed_build
|
||||
no_output_timeout: 3h
|
||||
- run:
|
||||
|
Loading…
x
Reference in New Issue
Block a user