Skip to content

Commit 373e1dd

Browse files
committed
test
1 parent 9713806 commit 373e1dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .github/scripts/sketch_utils.sh

+4
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
159159

160160
# Check if the sketch requires any configuration options
161161
requirements=$(jq -r ".requires[]? // empty" $sketchdir/ci.json)
162+
echo "Requirements: $requirements"
162163
if [[ "$requirements" != "null" ]] || [[ "$requirements" != "" ]]; then
163164
for requirement in $requirements; do
165+
echo "Requirement: $requirement"
164166
found_line=$(grep -E "^$requirement" "$SDKCONFIG_DIR/$target/sdkconfig")
165167
if [[ "$found_line" == "" ]]; then
166168
echo "Target $target does not meet the requirement $requirement for $sketchname. Skipping."
@@ -315,8 +317,10 @@ function count_sketches(){ # count_sketches <path> [target] [file]
315317

316318
# Check if the sketch requires any configuration options
317319
requirements=$(jq -r ".requires[]? // empty" $sketchdir/ci.json)
320+
echo "Requirements: $requirements"
318321
if [[ "$requirements" != "null" ]] || [[ "$requirements" != "" ]]; then
319322
for requirement in $requirements; do
323+
echo "Requirement: $requirement"
320324
found_line=$(grep -E "^$requirement" $SDKCONFIG_DIR/$target/sdkconfig)
321325
if [[ "$found_line" == "" ]]; then
322326
continue 2

0 commit comments

Comments
 (0)