CI: Use the environment variable MAKEFLAGS for 'make' instead of the in-place '-j' option.

This commit is contained in:
Anton Maklakov 2017-06-07 15:42:36 +08:00
parent 450b9a4e5c
commit a7dde817f9

View file

@ -7,6 +7,11 @@ stages:
- deploy - deploy
variables: variables:
# system environment
# Common parameters for the 'make' during CI tests
MAKEFLAGS: "-j5 --no-keep-going"
# IDF environment
IDF_PATH: "$CI_PROJECT_DIR" IDF_PATH: "$CI_PROJECT_DIR"
before_script: before_script:
@ -125,7 +130,7 @@ build_examples:
# mechanism work, but this is the next best thing # mechanism work, but this is the next best thing
- mkdir build_examples - mkdir build_examples
- cd build_examples - cd build_examples
- ${IDF_PATH}/make/build_examples.sh -j5 - ${IDF_PATH}/make/build_examples.sh
build_docs: build_docs:
stage: build stage: build