CI: Make the list of examples permanent between jobs

Because the results of the 'find' command are not sorted by name.
This commit is contained in:
Anton Maklakov 2017-07-20 16:46:30 +08:00
parent 8fd6ab9a39
commit 341cc8221c

View File

@ -134,7 +134,7 @@ build_example () {
EXAMPLE_NUM=0
find ${IDF_PATH}/examples/ -type f -name Makefile | \
find ${IDF_PATH}/examples/ -type f -name Makefile | sort | \
while read FN
do
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]