File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 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]
33jobs :
44 build :
55 runs-on : ubuntu-latest
6+ env :
7+ LIBRARIES : WiFi101 WiFiNINA
68
79 strategy :
810 matrix :
911 fqbn : [
12+ " arduino:samd:mkr1000" ,
1013 " 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"'
1217 ]
1318
1419 steps :
1520 - uses : actions/checkout@v1
1621 with :
1722 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
1926 with :
2027 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