File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # general configuration related to the builder itself
2
+ ESP8266_ARDUINO_BUILD_DIR=${ESP8266_ARDUINO_BUILD_DIR:- $root }
3
+ ESP8266_ARDUINO_BUILDER=${ESP8266_ARDUINO_BUILDER:- arduino}
4
+ ESP8266_ARDUINO_PRESERVE_CACHE=${ESP8266_ARDUINO_PRESERVE_CACHE:- }
5
+
6
+ # sketch build options
7
+ ESP8266_ARDUINO_DEBUG=${ESP8266_ARDUINO_DEBUG:- nodebug}
8
+ ESP8266_ARDUINO_LWIP=${ESP8266_ARDUINO_LWIP:- default}
9
+ ESP8266_ARDUINO_SKETCHES=${ESP8266_ARDUINO_SKETCHES:- }
10
+
11
+ ESP8266_ARDUINO_CLI=${ESP8266_ARDUINO_CLI:- $HOME / .local/ bin/ arduino-cli}
12
+
13
+ # ref. https://arduino.github.io/arduino-cli/1.2/configuration/#default-directories
14
+ case " ${RUNNER_OS:- Linux} " in
15
+ " Linux" )
16
+ RUNNER_OS=" Linux"
17
+ ESP8266_ARDUINO_HARDWARE=${ESP8266_ARDUINO_HARDWARE:- $HOME / Arduino/ hardware}
18
+ ESP8266_ARDUINO_LIBRARIES=${ESP8266_ARDUINO_LIBRARIES:- $HOME / Arduino/ libraries}
19
+ ;;
20
+ " macOS" )
21
+ ESP8266_ARDUINO_HARDWARE=${ESP8266_ARDUINO_HARDWARE:- $HOME / Documents/ Arduino/ hardware}
22
+ ESP8266_ARDUINO_LIBRARIES=${ESP8266_ARDUINO_LIBRARIES:- $HOME / Documents/ Arduino/ libraries}
23
+ ;;
24
+ " Windows" )
25
+ ESP8266_ARDUINO_HARDWARE=${ESP8266_ARDUINO_HARDWARE:- $HOME / Documents/ Arduino/ hardware}
26
+ ESP8266_ARDUINO_LIBRARIES=${ESP8266_ARDUINO_LIBRARIES:- $HOME / Documents/ Arduino/ libraries}
27
+ ;;
28
+ * )
29
+ echo ' Unknown ${RUNNER_OS} = "' ${RUNNER_OS} ' "'
30
+ exit 2
31
+ esac
32
+
33
+ source " $root /tests/lib-skip-ino.sh"
34
+ source " $root /tests/common.sh"
35
+
36
+ mod=1
37
+ rem=0
38
+ cnt=0
You can’t perform that action at this time.
0 commit comments