File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,16 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <fqbn> <path-to-i
8
8
fi
9
9
10
10
ARDUINO_CACHE_DIR=" $HOME /.arduino/cache.tmp"
11
+ ARDUINO_BUILD_DIR=" $HOME /.arduino/build.tmp"
11
12
local ide_path=$1
12
13
local usr_path=$2
13
14
local fqbn=$3
14
15
local sketch=$4
15
16
local xtra_opts=$5
16
17
local win_opts=$6
17
18
18
- build_dir= " $( dirname $sketch ) /build "
19
- mkdir -p " $build_dir "
19
+ rm -rf " $ARDUINO_BUILD_DIR "
20
+ mkdir -p " $ARDUINO_BUILD_DIR "
20
21
mkdir -p " $ARDUINO_CACHE_DIR "
21
22
$ide_path /arduino-builder -compile -logger=human -core-api-version=10810 \
22
23
-fqbn=$fqbn \
@@ -28,7 +29,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <fqbn> <path-to-i
28
29
-hardware " $usr_path /hardware" \
29
30
-libraries " $usr_path /libraries" \
30
31
-build-cache " $ARDUINO_CACHE_DIR " \
31
- -build-path " $build_dir " \
32
+ -build-path " $ARDUINO_BUILD_DIR " \
32
33
$win_opts $xtra_opts " $sketch "
33
34
}
34
35
Original file line number Diff line number Diff line change 47
47
runs-on : ubuntu-latest
48
48
strategy :
49
49
matrix :
50
- chip : ['esp32', 'esp32s2', 'esp32c3']
50
+ chip : ['esp32', 'esp32s2', 'esp32s3', ' esp32c3']
51
51
chunks : ${{fromJson(needs.gen_chunks.outputs.chunks)}}
52
52
53
53
steps :
71
71
strategy :
72
72
fail-fast : false
73
73
matrix :
74
- chip : ['esp32', 'esp32s2', 'esp32c3']
74
+ chip : ['esp32', 'esp32s2', 'esp32s3', ' esp32c3']
75
75
chunks : ${{fromJson(needs.gen_chunks.outputs.chunks)}}
76
76
container :
77
77
image : python:3.10.1-bullseye
You can’t perform that action at this time.
0 commit comments