Merge branch 'master' of https://github.com/fm4dd/pmod-i2c24io #16
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: 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 | |