Updated compile.yml #13
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: Compile Examples | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- board: | |
fqbn: Inkplate_Motion:stm32:Inkplate6Motion | |
additional-sketch-paths: | | |
- examples | |
steps: | |
# Ensure that Bash is used for compatibility with the prebuild script | |
- name: Ensure Bash Shell | |
run: sudo ln -sf /bin/bash /bin/sh | |
# Checkout the repository | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Compile all examples | |
- name: Compile examples | |
uses: arduino/compile-sketches@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
platforms: | | |
- source-url: https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json | |
name: Inkplate_Motion:stm32 | |
fqbn: ${{ matrix.board.fqbn }} | |
libraries: | | |
- source-path: ./ | |
sketch-paths: | | |
${{ matrix.additional-sketch-paths }} |