Skip to content

Commit 5c42821

Browse files
Merge pull request #13 from arduino-libraries/aliphys/SelectiveCompileWorkflow
[AE-158] Specify compatible sketches for each `fqbn:`
2 parents ad67361 + 773adc9 commit 5c42821

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/compile-examples.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ on:
2222
repository_dispatch:
2323

2424
env:
25+
UNIVERSAL_SKETCH_PATHS: |
26+
- extras/tests
2527
SKETCHES_REPORTS_PATH: sketches-reports
2628
SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports
2729

@@ -47,6 +49,27 @@ jobs:
4749
- fqbn: arduino:mbed_opta:opta
4850
platforms: |
4951
- name: arduino:mbed_opta
52+
include:
53+
- board:
54+
- fqbn: arduino:mbed_portenta:envie_m7
55+
additional-sketch-paths: |
56+
- examples/SimpleStorageWriteRead
57+
- examples/PortentaH7Logger
58+
- examples/AdvancedUSBInternalOperations
59+
- examples/BackupInternalPartitions
60+
- board:
61+
- fqbn: arduino:renesas_portenta:portenta_c33
62+
additional-sketch-paths: |
63+
- examples/SimpleStorageWriteRead
64+
- examples/AdvancedUSBInternalOperations
65+
- examples/BackupInternalPartitions
66+
- board:
67+
- fqbn: arduino:mbed_opta:opta
68+
additional-sketch-paths: |
69+
- examples/SimpleStorageWriteRead
70+
- examples/AdvancedUSBInternalOperations
71+
- examples/BackupInternalPartitions
72+
5073
5174
5275
steps:
@@ -67,7 +90,8 @@ jobs:
6790
# Additional library dependencies can be listed here.
6891
# See: https://github.com/arduino/compile-sketches#libraries
6992
sketch-paths: |
70-
- examples
93+
${{ env.UNIVERSAL_SKETCH_PATHS }}
94+
${{ matrix.additional-sketch-paths }}
7195
enable-deltas-report: true
7296
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7397

0 commit comments

Comments
 (0)