Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply suggestions from Per's review #16

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 8 additions & 25 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: Compile Examples
on:
push:
paths:
- ".github/workflows/compile-examples-private.ya?ml"
- ".github/workflows/compile-examples.ya?ml"
- "library.properties"
- "examples/**"
- "src/**"
pull_request:
paths:
- ".github/workflows/compile-examples-private.ya?ml"
- ".github/workflows/compile-examples.ya?ml"
- "library.properties"
- "examples/**"
- "src/**"
Expand All @@ -24,6 +24,9 @@ on:
env:
UNIVERSAL_SKETCH_PATHS: |
- extras/tests
- examples/SimpleStorageWriteRead
- examples/AdvancedUSBInternalOperations
- examples/BackupInternalPartitions
SKETCHES_REPORTS_PATH: sketches-reports
SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports

Expand All @@ -43,34 +46,14 @@ jobs:
- fqbn: arduino:mbed_portenta:envie_m7
platforms: |
- name: arduino:mbed_portenta
additional-sketch-paths: |
- examples/PortentaH7Logger
aliphys marked this conversation as resolved.
Show resolved Hide resolved
- fqbn: arduino:renesas_portenta:portenta_c33
platforms: |
- name: arduino:renesas_portenta
- fqbn: arduino:mbed_opta:opta
platforms: |
- name: arduino:mbed_opta
include:
- board:
- fqbn: arduino:mbed_portenta:envie_m7
additional-sketch-paths: |
- examples/SimpleStorageWriteRead
- examples/PortentaH7Logger
- examples/AdvancedUSBInternalOperations
- examples/BackupInternalPartitions
- board:
- fqbn: arduino:renesas_portenta:portenta_c33
additional-sketch-paths: |
- examples/SimpleStorageWriteRead
- examples/AdvancedUSBInternalOperations
- examples/BackupInternalPartitions
- board:
- fqbn: arduino:mbed_opta:opta
additional-sketch-paths: |
- examples/SimpleStorageWriteRead
- examples/AdvancedUSBInternalOperations
- examples/BackupInternalPartitions



steps:
- name: Checkout repository
Expand All @@ -91,7 +74,7 @@ jobs:
# See: https://github.com/arduino/compile-sketches#libraries
sketch-paths: |
${{ env.UNIVERSAL_SKETCH_PATHS }}
${{ matrix.additional-sketch-paths }}
${{ matrix.board.additional-sketch-paths }}
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

Expand Down