mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
ci: Lower limit for number of examples (S2 Beta has 81 right now)
This commit is contained in:
committed by
Angus Gratton
parent
8111b222c8
commit
9a3606781f
@@ -69,7 +69,7 @@ SDKCONFIG_DEFAULTS_CI=sdkconfig.ci
|
||||
EXAMPLE_PATHS=$( get_supported_examples.sh $IDF_TARGET | sed "s#^#${IDF_PATH}\/examples\/#g" | awk '{print $0"/CmakeLists.txt"}' )
|
||||
NUM_OF_EXAMPLES=$( echo "${EXAMPLE_PATHS}" | wc -l )
|
||||
# just a plausibility check
|
||||
[ ${NUM_OF_EXAMPLES} -lt 100 ] && die "NUM_OF_EXAMPLES is bad"
|
||||
[ ${NUM_OF_EXAMPLES} -lt 80 ] && die "NUM_OF_EXAMPLES is bad"
|
||||
|
||||
echo "All examples found for target $IDF_TARGET:"
|
||||
echo $EXAMPLE_PATHS
|
||||
|
Reference in New Issue
Block a user