File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 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
121121 if [ -n " $ARDUINO_BUILD_DIR " ]; then
122122 build_dir=" $ARDUINO_BUILD_DIR "
123123 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"
126126 fi
127127
128128 mkdir -p " $ARDUINO_CACHE_DIR "
129129 for i in ` seq 0 $(( $len - 1 )) `
130130 do
131131 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"
134134 fi
135135 rm -rf $build_dir
136136 mkdir -p $build_dir
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ function run_test() {
1515 fi
1616
1717 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"
1920 report_file=" tests/$sketchname /$sketchname .xml"
2021 fi
2122
@@ -27,7 +28,8 @@ function run_test() {
2728 fi
2829
2930 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"
3133 report_file=" tests/$sketchname /$sketchname$i .xml"
3234 fi
3335
Original file line number Diff line number Diff line change 2626 steps :
2727 - name : Checkout Repository
2828 uses : actions/checkout@v3
29-
29+
3030 - name : Generate Chunks matrix
3131 id : gen-chunks
3232 run : |
6060 with :
6161 name : ${{matrix.chip}}-${{matrix.chunks}}.artifacts
6262 path : |
63- tests/*/build*/*.bin
64- tests/*/build*/*.json
63+ ~/.arduino/ tests/*/build*.tmp /*.bin
64+ ~/.arduino/ tests/*/build*.tmp /*.json
6565 if-no-files-found : error
6666 Test :
6767 needs : [gen_chunks, Build]
8989 uses : actions/download-artifact@v3
9090 with :
9191 name : ${{matrix.chip}}-${{matrix.chunks}}.artifacts
92- path : tests/
92+ path : ~/.arduino/ tests/
9393
9494 - name : Install dependencies
9595 run : |
You can’t perform that action at this time.
0 commit comments