Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca874d2

Browse filesBrowse files
committed
Adding MKR1000, NANO 33 IOT, and ESP8266 as CI build targets
1 parent 8c8de83 commit ca874d2
Copy full SHA for ca874d2

File tree

Expand file treeCollapse file tree

2 files changed

+25
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+25
-3
lines changed

‎.github/workflows/compile-examples.yml

Copy file name to clipboardExpand all lines: .github/workflows/compile-examples.yml
+16-3Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@ on: [push, pull_request]
33
jobs:
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
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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 "$@"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.