Merge pull request #4 from AnshumanFauzdar/dependabot/pip/firmware/te… #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |