Skip to content

Commit d72391f

Browse files
authored
Merge pull request #16 from arduino-libraries/compile-workflow-fix
Apply suggestions from Per's review
2 parents 3abc601 + 4b05ce9 commit d72391f

File tree

1 file changed

+8
-25
lines changed

1 file changed

+8
-25
lines changed

.github/workflows/compile-examples.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ name: Compile Examples
55
on:
66
push:
77
paths:
8-
- ".github/workflows/compile-examples-private.ya?ml"
8+
- ".github/workflows/compile-examples.ya?ml"
99
- "library.properties"
1010
- "examples/**"
1111
- "src/**"
1212
pull_request:
1313
paths:
14-
- ".github/workflows/compile-examples-private.ya?ml"
14+
- ".github/workflows/compile-examples.ya?ml"
1515
- "library.properties"
1616
- "examples/**"
1717
- "src/**"
@@ -24,6 +24,9 @@ on:
2424
env:
2525
UNIVERSAL_SKETCH_PATHS: |
2626
- extras/tests
27+
- examples/SimpleStorageWriteRead
28+
- examples/AdvancedUSBInternalOperations
29+
- examples/BackupInternalPartitions
2730
SKETCHES_REPORTS_PATH: sketches-reports
2831
SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports
2932

@@ -43,34 +46,14 @@ jobs:
4346
- fqbn: arduino:mbed_portenta:envie_m7
4447
platforms: |
4548
- name: arduino:mbed_portenta
49+
additional-sketch-paths: |
50+
- examples/PortentaH7Logger
4651
- fqbn: arduino:renesas_portenta:portenta_c33
4752
platforms: |
4853
- name: arduino:renesas_portenta
4954
- fqbn: arduino:mbed_opta:opta
5055
platforms: |
5156
- 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-
73-
7457
7558
steps:
7659
- name: Checkout repository
@@ -91,7 +74,7 @@ jobs:
9174
# See: https://github.com/arduino/compile-sketches#libraries
9275
sketch-paths: |
9376
${{ env.UNIVERSAL_SKETCH_PATHS }}
94-
${{ matrix.additional-sketch-paths }}
77+
${{ matrix.board.additional-sketch-paths }}
9578
enable-deltas-report: true
9679
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
9780

0 commit comments

Comments
 (0)