fix arduino core api path to "relax" compatibility with 3rd party cor… #103
This file contains hidden or 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: | |
pull_request: | |
paths: | |
- ".github/workflows/compile-examples.yml" | |
- "examples/**" | |
- "src/**" | |
push: | |
paths: | |
- ".github/workflows/compile-examples.yml" | |
- "examples/**" | |
- "src/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SKETCHES_REPORTS_PATH: sketches-reports | |
LIBRARIES: | | |
# Install the library from the local path. | |
- source-path: ./ | |
strategy: | |
fail-fast: false | |
matrix: | |
board: | |
- fqbn: arduino:samd:arduino_zero_native | |
platforms: | | |
- name: arduino:samd | |
- fqbn: arduino:samd:arduino_zero_edbg | |
platforms: | | |
- name: arduino:samd | |
- fqbn: arduino:renesas_uno:minima | |
platforms: | | |
- name: arduino:renesas_uno | |
- fqbn: arduino:renesas_uno:unor4wifi | |
platforms: | | |
- name: arduino:renesas_uno | |
- fqbn: arduino:renesas_portenta:portenta_c33 | |
platforms: | | |
- name: arduino:renesas_portenta | |
- fqbn: arduino:mbed_giga:giga | |
platforms: | | |
- name: arduino:mbed_giga | |
- fqbn: arduino:mbed_portenta:envie_m7 | |
platforms: | | |
- name: arduino:mbed_portenta | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compile examples | |
uses: arduino/compile-sketches@main | |
with: | |
fqbn: ${{ matrix.board.fqbn }} | |
platforms: ${{ matrix.board.platforms }} | |
libraries: ${{ env.LIBRARIES }} | |
enable-deltas-report: false | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }} |