Skip to content

Commit eb0abff

Browse files
committed
Use YAML style compile flags
1 parent ecabe7b commit eb0abff

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/compile-examples-profiles.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,10 @@ jobs:
4747
matrix:
4848
board:
4949
- fqbn: arduino:mbed_portenta:envie_m7
50-
platforms: |
51-
- name: arduino:mbed_portenta
5250
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5351
- fqbn: arduino:renesas_portenta:portenta_c33
54-
platforms: |
55-
- name: arduino:renesas_portenta
5652
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
5753
- fqbn: arduino:mbed_opta:opta
58-
platforms: |
59-
- name: arduino:mbed_opta
6054
artifact-name-suffix: arduino-mbed_opta-opta
6155

6256
steps:
@@ -67,16 +61,20 @@ jobs:
6761
uses: arduino/compile-sketches@v1
6862
with:
6963
github-token: ${{ secrets.GITHUB_TOKEN }}
70-
cli-compile-flags: --profile ${{ matrix.board.fqbn }}
7164
sketch-paths: |
7265
${{ env.UNIVERSAL_SKETCH_PATHS }}
7366
${{ matrix.board.additional-sketch-paths }}
67+
fqbn: ${{ matrix.board.fqbn }}
68+
cli-compile-flags: |
69+
- --profile
70+
- ${{ matrix.board.fqbn }}
7471
enable-deltas-report: true
7572
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
73+
verbose: false
7674

7775
- name: Save sketches report as workflow artifact
7876
uses: actions/upload-artifact@v4
7977
with:
8078
if-no-files-found: error
8179
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
82-
path: ${{ env.SKETCHES_REPORTS_PATH }}
80+
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)