From 725cd28007afcd457d9a014be9e111d9077964bd Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 14 Nov 2018 14:13:28 +0800 Subject: [PATCH] ci: If there is no sdkconfig, we have to generate one --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9db17a1ac..1ea979999 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,12 +85,15 @@ build_template_app: BATCH_BUILD: "1" IDF_CI_BUILD: "1" script: - - git clone https://github.com/espressif/esp-idf-template.git + # Set the variable for 'esp-idf-template' testing + - ESP_IDF_TEMPLATE_GIT=${ESP_IDF_TEMPLATE_GIT:-"https://github.com/espressif/esp-idf-template.git"} + - git clone ${ESP_IDF_TEMPLATE_GIT} - cd esp-idf-template # Try to use the same branch name for esp-idf-template that we're # using on esp-idf. If it doesn't exist then just stick to the default # branch - python $CHECKOUT_REF_SCRIPT esp-idf-template + - make defconfig # Test debug build (default) - make all V=1 # Now test release build