diff --git a/.circleci/config.yml b/.circleci/config.yml index 95ee78fe..f271c62e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: