Skip to content

Commit 36a7f62

Browse files
committed
Test
1 parent c90f664 commit 36a7f62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/sketch_utils.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
131131
echo "Skipping $sketchname for target $target"
132132
exit 0
133133
fi
134-
134+
135135
ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"
136136
if [ -n "$ARDUINO_BUILD_DIR" ]; then
137137
build_dir="$ARDUINO_BUILD_DIR"
138138
elif [ $len -eq 1 ]; then
139139
# build_dir="$sketchdir/build"
140-
build_dir="$HOME/.arduino/tests/$sketchname/build.tmp"
140+
build_dir="$HOME/.arduino/tests/$sketchname/build.tmp/$target"
141141
fi
142142

143143
mkdir -p "$ARDUINO_CACHE_DIR"
@@ -165,7 +165,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
165165
--build-cache-path "$ARDUINO_CACHE_DIR" \
166166
--build-path "$build_dir" \
167167
$xtra_opts "${sketchdir}"
168-
168+
169169
exit_status=$?
170170
if [ $exit_status -ne 0 ]; then
171171
echo ""ERROR: Compilation failed with error code $exit_status""

0 commit comments

Comments
 (0)