mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 21:24:32 +02:00
Merge branch 'bugfix/ci_examples_list_order' into 'master'
Make the list of examples permanent between jobs because the results of the 'find' command are not sorted by name. Fix the identified problem on master See merge request !1036
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "nvs.h"
|
#include "nvs_flash.h"
|
||||||
#include "bt.h"
|
#include "bt.h"
|
||||||
#include "driver/uart.h"
|
#include "driver/uart.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
@@ -134,7 +134,7 @@ build_example () {
|
|||||||
|
|
||||||
EXAMPLE_NUM=0
|
EXAMPLE_NUM=0
|
||||||
|
|
||||||
find ${IDF_PATH}/examples/ -type f -name Makefile | \
|
find ${IDF_PATH}/examples/ -type f -name Makefile | sort | \
|
||||||
while read FN
|
while read FN
|
||||||
do
|
do
|
||||||
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]
|
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]
|
||||||
|
Reference in New Issue
Block a user