File tree 2 files changed +26
-3
lines changed
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
fqbn : [
10
+ " arduino:samd:mkr1000" ,
10
11
" arduino:samd:mkrwifi1010" ,
11
- " arduino:megaavr:uno2018"
12
+ " arduino:samd:nano_33_iot" ,
13
+ " arduino:samd:mkrgsm1400" ,
14
+ " arduino:samd:mkrnb1500" ,
15
+ " arduino:samd:mkrwan1300" ,
16
+ " arduino:samd:mkrwan1310" ,
17
+ " arduino:megaavr:uno2018" ,
18
+ ' "esp8266:esp8266:huzzah" "https://arduino.esp8266.com/stable/package_esp8266com_index.json"'
12
19
]
13
20
14
21
steps :
15
22
- uses : actions/checkout@v1
16
23
with :
17
24
fetch-depth : 1
18
- - uses : arduino/actions/libraries/compile-examples@master
25
+ - name : compile-examples for official Arduino boards
26
+ if : startsWith(matrix.fqbn, '"esp8266:esp8266') != true
27
+ uses : arduino/actions/libraries/compile-examples@master
19
28
with :
20
29
fqbn : ${{ matrix.fqbn }}
21
- libraries : WiFiNINA
30
+ - name : compile-examples for ESP8266 boards
31
+ if : startsWith(matrix.fqbn, '"esp8266:esp8266')
32
+ uses : arduino/actions/libraries/compile-examples@master
33
+ with :
34
+ fqbn : ${{ matrix.fqbn }}
35
+ entrypoint : /github/workspace/.github/workflows/install-python-wrapper.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -x
2
+ # This script is used as an alternate entrypoint to allow installing Python 3 (a dependency of
3
+ # the ESP8266 core for Arduino) in the Docker container used by the compile-examples action
4
+
5
+ # Install Python 3
6
+ apt-get update && apt-get install -y python3
7
+
8
+ Run the standard entrypoint script
9
+ /entrypoint.sh " $@ "
You can’t perform that action at this time.
0 commit comments