ci: If there is no sdkconfig, we have to generate one

This commit is contained in:
Anton Maklakov 2018-11-14 14:13:28 +08:00
parent f1949a59b6
commit fe5b2c56a4

View file

@ -121,12 +121,15 @@ build_template_app:
- $BOT_LABEL_BUILD - $BOT_LABEL_BUILD
- $BOT_LABEL_REGULAR_TEST - $BOT_LABEL_REGULAR_TEST
script: 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 - cd esp-idf-template
# Try to use the same branch name for esp-idf-template that we're # 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 # using on esp-idf. If it doesn't exist then just stick to the default
# branch # branch
- python $CHECKOUT_REF_SCRIPT esp-idf-template - python $CHECKOUT_REF_SCRIPT esp-idf-template
- make defconfig
# Test debug build (default) # Test debug build (default)
- make all V=1 - make all V=1
# Now test release build # Now test release build