Skip to content

Commit ec518fa

Browse files
committed
Use include: to specify directories
1 parent 34d3bcc commit ec518fa

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/compile-examples.yml

Lines changed: 27 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+
- extra/tests
2527
SKETCHES_REPORTS_PATH: sketches-reports
2628
SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports
2729

@@ -47,6 +49,29 @@ 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/PortentaH7Logger
65+
- examples/AdvancedUSBInternalOperations
66+
- examples/BackupInternalPartitions
67+
- board:
68+
- fqbn: arduino:mbed_opta:opta
69+
additional-sketch-paths: |
70+
- examples/SimpleStorageWriteRead
71+
- examples/PortentaH7Logger
72+
- examples/AdvancedUSBInternalOperations
73+
- examples/BackupInternalPartitions
74+
5075
5176
5277
steps:
@@ -67,7 +92,8 @@ jobs:
6792
# Additional library dependencies can be listed here.
6893
# See: https://github.com/arduino/compile-sketches#libraries
6994
sketch-paths: |
70-
- examples
95+
${{ env.UNIVERSAL_SKETCH_PATHS }}
96+
${{ matrix.additional-sketch-paths }}
7197
enable-deltas-report: true
7298
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7399

0 commit comments

Comments
 (0)