File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 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
1313for example in $idf_component_examples ; do
1414 idf.py -C " $example " set-target " $IDF_TARGET "
1515
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+
1625 has_requirements=$( ${CHECK_REQUIREMENTS} " $example " " $example /sdkconfig" )
1726 if [ " $has_requirements " -eq 0 ]; then
1827 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:
280280 chmod a+x ./components/arduino-esp32/.github/scripts/*
281281 ./components/arduino-esp32/.github/scripts/on-push-idf.sh
282282
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+
283289 # Save artifacts to gh-pages
284290 save-master-artifacts :
285291 name : Save master artifacts
Original file line number Diff line number Diff line change 11build /
22managed_components /
33dependencies.lock
4+ sdkconfig
You can’t perform that action at this time.
0 commit comments