]> granicus.if.org Git - esp-idf/commitdiff
ci: If there is no sdkconfig, we have to generate one
authorAnton Maklakov <anton@espressif.com>
Wed, 14 Nov 2018 06:13:28 +0000 (14:13 +0800)
committerAnton Maklakov <anton@espressif.com>
Wed, 14 Nov 2018 11:46:03 +0000 (19:46 +0800)
.gitlab-ci.yml

index 4886c74260e24c8f890d176a58ef8f99c2cf0384..73c2cf577e8fdfcf13374c1428c9072f6c70bb40 100644 (file)
@@ -121,12 +121,15 @@ build_template_app:
       - $BOT_LABEL_BUILD
       - $BOT_LABEL_REGULAR_TEST
   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