|
|
@@ -31,6 +31,7 @@ build_template_app:
|
|
|
SDK_PATH: "$CI_PROJECT_DIR"
|
|
|
IDF_PATH: "$CI_PROJECT_DIR"
|
|
|
GIT_STRATEGY: clone
|
|
|
+ BATCH_BUILD: "1"
|
|
|
|
|
|
script:
|
|
|
- git clone https://github.com/espressif/esp-idf-template.git
|
|
|
@@ -39,13 +40,11 @@ build_template_app:
|
|
|
# using on esp-idf. If it doesn't exist then just stick to the default
|
|
|
# branch
|
|
|
- git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
|
|
- - make defconfig
|
|
|
# Test debug build (default)
|
|
|
- make all V=1
|
|
|
# Now test release build
|
|
|
- make clean
|
|
|
- sed -i.bak -e's/CONFIG_OPTIMIZATION_LEVEL_DEBUG\=y/CONFIG_OPTIMIZATION_LEVEL_RELEASE=y/' sdkconfig
|
|
|
- - make defconfig
|
|
|
- make all V=1
|
|
|
# Check if there are any stray printf/ets_printf references in WiFi libs
|
|
|
- cd ../components/esp32/lib
|
|
|
@@ -63,6 +62,8 @@ build_template_app:
|
|
|
SDK_PATH: "$CI_PROJECT_DIR"
|
|
|
IDF_PATH: "$CI_PROJECT_DIR"
|
|
|
GIT_STRATEGY: clone
|
|
|
+ BATCH_BUILD: "1"
|
|
|
+
|
|
|
|
|
|
build_ssc:
|
|
|
<<: *build_template
|
|
|
@@ -103,7 +104,6 @@ build_esp_idf_tests:
|
|
|
script:
|
|
|
- cd tools/unit-test-app
|
|
|
- git checkout ${CI_BUILD_REF_NAME} || echo "Using default branch..."
|
|
|
- - make defconfig
|
|
|
- make TESTS_ALL=1
|
|
|
- python UnitTestParser.py
|
|
|
|