File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,32 @@ on: [push, pull_request]
3
3
jobs :
4
4
build :
5
5
runs-on : ubuntu-latest
6
+ env :
7
+ LIBRARIES : WiFi101 WiFiNINA
6
8
7
9
strategy :
8
10
matrix :
9
11
fqbn : [
12
+ " arduino:samd:mkr1000" ,
10
13
" arduino:samd:mkrwifi1010" ,
11
- " arduino:megaavr:uno2018"
14
+ " arduino:samd:nano_33_iot" ,
15
+ " arduino:megaavr:uno2018" ,
16
+ ' "esp8266:esp8266:huzzah" "https://arduino.esp8266.com/stable/package_esp8266com_index.json"'
12
17
]
13
18
14
19
steps :
15
20
- uses : actions/checkout@v1
16
21
with :
17
22
fetch-depth : 1
18
- - uses : arduino/actions/libraries/compile-examples@master
23
+ - name : compile-examples for official Arduino boards
24
+ if : startsWith(matrix.fqbn, '"esp8266:esp8266') != true
25
+ uses : arduino/actions/libraries/compile-examples@master
19
26
with :
20
27
fqbn : ${{ matrix.fqbn }}
21
- libraries : WiFiNINA
28
+ libraries : ${{ env.LIBRARIES }}
29
+ - name : compile-examples for ESP8266 boards
30
+ if : startsWith(matrix.fqbn, '"esp8266:esp8266')
31
+ uses : arduino/actions/libraries/compile-examples@master
32
+ with :
33
+ fqbn : ${{ matrix.fqbn }}
34
+ 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