File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,15 @@ idf_component_examples=$(find ./components/arduino-esp32/idf_component_examples
13
13
for example in $idf_component_examples ; do
14
14
idf.py -C " $example " set-target " $IDF_TARGET "
15
15
16
+ if [ -f " $example " /ci.json ]; then
17
+ # If the target is listed as false, skip the sketch. Otherwise, include it.
18
+ is_target=$( jq -r --arg target " $IDF_TARGET " ' .targets[$target]' " $example " /ci.json)
19
+ if [[ " $is_target " == " false" ]]; then
20
+ printf " \n\033[93mSkipping %s for target %s\033[0m\n\n" " $example " " $IDF_TARGET "
21
+ continue
22
+ fi
23
+ fi
24
+
16
25
has_requirements=$( ${CHECK_REQUIREMENTS} " $example " " $example /sdkconfig" )
17
26
if [ " $has_requirements " -eq 0 ]; then
18
27
printf " \n\033[93m%s does not meet the requirements for %s. Skipping...\033[0m\n\n" " $example " " $IDF_TARGET "
Original file line number Diff line number Diff line change @@ -280,6 +280,12 @@ jobs:
280
280
chmod a+x ./components/arduino-esp32/.github/scripts/*
281
281
./components/arduino-esp32/.github/scripts/on-push-idf.sh
282
282
283
+ - name : Upload generated sdkconfig files for debugging
284
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
285
+ with :
286
+ name : sdkconfig-${{ matrix.idf_target }}
287
+ path : ./components/arduino-esp32/idf_component_examples/**/sdkconfig
288
+
283
289
# Save artifacts to gh-pages
284
290
save-master-artifacts :
285
291
name : Save master artifacts
Original file line number Diff line number Diff line change 1
1
build /
2
2
managed_components /
3
3
dependencies.lock
4
+ sdkconfig
You can’t perform that action at this time.
0 commit comments