-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (26 loc) · 1.02 KB
/
arduino.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Sony
on: [push, pull_request]
jobs:
test-matrix:
strategy:
matrix:
arduino-platform: ["SPRESENSE:spresense"]
include:
- arduino-platform: "SPRESENSE:spresense"
fqbn: "SPRESENSE:spresense:spresense"
runs-on: windows-latest
if: "contains(github.event.head_commit.message, 'test')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Arduino CLI
uses: arduino/setup-arduino-cli@v1
- name: Install platform
run: |
arduino-cli config init --additional-urls https://github.com/sonydevworld/spresense-arduino-compatible/releases/download/generic/package_spresense_index.json
arduino-cli core update-index
arduino-cli core search spresense
arduino-cli core install SPRESENSE:spresense
arduino-cli lib install ArduinoJson@5.13.5
- name: Compile Sketch
run: arduino-cli compile --fqbn SPRESENSE:spresense:spresense ./firmware/testing/wifi/spresense