mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-25 02:45:16 +08:00
Merge branch 'chore/update_ci_to_skip_example_common_components' into 'master'
ci: update CI compiling script to skip example common components See merge request sdk/ESP8266_RTOS_SDK!1185
This commit is contained in:
@ -166,7 +166,7 @@ build_example () {
|
|||||||
|
|
||||||
EXAMPLE_NUM=0
|
EXAMPLE_NUM=0
|
||||||
|
|
||||||
EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/build_system/cmake/" | sort )
|
EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/components/" | grep -v "/common_components/" | grep -v "/main/" | grep -v "/build_system/cmake/" | sort )
|
||||||
for FN in ${EXAMPLE_PATHS}
|
for FN in ${EXAMPLE_PATHS}
|
||||||
do
|
do
|
||||||
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]
|
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]
|
||||||
|
|||||||
@ -73,8 +73,7 @@ LOG_SUSPECTED=${LOG_PATH}/common_log.txt
|
|||||||
touch ${LOG_SUSPECTED}
|
touch ${LOG_SUSPECTED}
|
||||||
SDKCONFIG_DEFAULTS_CI=sdkconfig.ci
|
SDKCONFIG_DEFAULTS_CI=sdkconfig.ci
|
||||||
|
|
||||||
EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name CMakeLists.txt | grep -v "/components/" | grep -v "/main/" | sort )
|
EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name CMakeLists.txt | grep -v "/components/" | grep -v "/common_components/" | grep -v "/main/" | grep -v "/build_system/cmake/" | sort )
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
START_NUM=0
|
START_NUM=0
|
||||||
|
|||||||
Reference in New Issue
Block a user