File tree 3 files changed +12
-10
lines changed
3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,16 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
121
121
if [ -n " $ARDUINO_BUILD_DIR " ]; then
122
122
build_dir=" $ARDUINO_BUILD_DIR "
123
123
elif [ $len -eq 1 ]; then
124
- build_dir=" $sketchdir /build"
125
- # build_dir="$HOME/.arduino/build.tmp"
124
+ # build_dir="$sketchdir/build"
125
+ build_dir=" $HOME /.arduino/tests/ $sketchname /build.tmp"
126
126
fi
127
127
128
128
mkdir -p " $ARDUINO_CACHE_DIR "
129
129
for i in ` seq 0 $(( $len - 1 )) `
130
130
do
131
131
if [ $len -ne 1 ]; then
132
- build_dir=" $sketchdir /build$i "
133
- # build_dir="$HOME/.arduino/build$i.tmp"
132
+ # build_dir="$sketchdir/build$i"
133
+ build_dir=" $HOME /.arduino/tests/ $sketchname /build$i .tmp"
134
134
fi
135
135
rm -rf $build_dir
136
136
mkdir -p $build_dir
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ function run_test() {
15
15
fi
16
16
17
17
if [ $len -eq 1 ]; then
18
- build_dir=" tests/$sketchname /build"
18
+ # build_dir="tests/$sketchname/build"
19
+ build_dir=" $HOME /.arduino/tests/$sketchname /build.tmp"
19
20
report_file=" tests/$sketchname /$sketchname .xml"
20
21
fi
21
22
@@ -27,7 +28,8 @@ function run_test() {
27
28
fi
28
29
29
30
if [ $len -ne 1 ]; then
30
- build_dir=" tests/$sketchname /build$i "
31
+ # build_dir="tests/$sketchname/build$i"
32
+ build_dir=" $HOME /.arduino/tests/$sketchname /build$i .tmp"
31
33
report_file=" tests/$sketchname /$sketchname$i .xml"
32
34
fi
33
35
Original file line number Diff line number Diff line change 26
26
steps :
27
27
- name : Checkout Repository
28
28
uses : actions/checkout@v3
29
-
29
+
30
30
- name : Generate Chunks matrix
31
31
id : gen-chunks
32
32
run : |
60
60
with :
61
61
name : ${{matrix.chip}}-${{matrix.chunks}}.artifacts
62
62
path : |
63
- tests/*/build*/*.bin
64
- tests/*/build*/*.json
63
+ ~/.arduino/ tests/*/build*.tmp /*.bin
64
+ ~/.arduino/ tests/*/build*.tmp /*.json
65
65
if-no-files-found : error
66
66
Test :
67
67
needs : [gen_chunks, Build]
89
89
uses : actions/download-artifact@v3
90
90
with :
91
91
name : ${{matrix.chip}}-${{matrix.chunks}}.artifacts
92
- path : tests/
92
+ path : ~/.arduino/ tests/
93
93
94
94
- name : Install dependencies
95
95
run : |
You can’t perform that action at this time.
0 commit comments