mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
ci: don’t look for project CMakeLists in common_components
This commit is contained in:
parent
22bef90bd3
commit
b3a235945e
@ -66,7 +66,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/" | sort )
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# While we support GNU Make & CMake together, check the same examples are present for both
|
# While we support GNU Make & CMake together, check the same examples are present for both
|
||||||
|
|
||||||
CMAKE_EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name CMakeLists.txt | grep -v "/components/" | grep -v "/main/" | grep -v "/build_system/cmake/")
|
CMAKE_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/")
|
||||||
MAKE_EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/build_system/cmake/")
|
MAKE_EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/build_system/cmake/")
|
||||||
|
|
||||||
CMAKE_EXAMPLE_PATHS="$(/usr/bin/dirname $CMAKE_EXAMPLE_PATHS | sort -n)"
|
CMAKE_EXAMPLE_PATHS="$(/usr/bin/dirname $CMAKE_EXAMPLE_PATHS | sort -n)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user