-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (30 loc) · 1.06 KB
/
xiao.yml
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
name: xiao-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
branches: [ master ]
jobs:
test-matrix:
strategy:
matrix:
arduino-platform: ["Seeeduino:samd"]
include:
- arduino-platform: "Seeeduino:samd"
fqbn: "Seeeduino:samd:seeed_XIAO_m0"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Arduino CLI
uses: arduino/[email protected]
- name: Install platform
run: |
arduino-cli core update-index --additional-urls https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
arduino-cli core install ${{ matrix.arduino-platform }} --additional-urls https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
- name: Compile Sketch
run: |
arduino-cli compile --fqbn ${{ matrix.fqbn }} ./examples/xiao-pmod1-i2c24io
arduino-cli compile --fqbn ${{ matrix.fqbn }} ./examples/xiao-pmod1-24iodemo