From a7dde817f94d4314438a706a4da6e4cbbb82067a Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 7 Jun 2017 15:42:36 +0800 Subject: [PATCH] CI: Use the environment variable MAKEFLAGS for 'make' instead of the in-place '-j' option. --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b55a4f8830..44d8ea6375 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,11 @@ stages: - deploy variables: +# system environment + # Common parameters for the 'make' during CI tests + MAKEFLAGS: "-j5 --no-keep-going" + +# IDF environment IDF_PATH: "$CI_PROJECT_DIR" before_script: @@ -125,7 +130,7 @@ build_examples: # mechanism work, but this is the next best thing - mkdir build_examples - cd build_examples - - ${IDF_PATH}/make/build_examples.sh -j5 + - ${IDF_PATH}/make/build_examples.sh build_docs: stage: build -- 2.40.0