Skip to content

Commit 1f851fe

Browse files
committedApr 22, 2021
Compile sketches for Portenta M4 core in "Compile Examples" CI workflow
Some of the sketches are written to be compiled for the M7 core, some for the M4 core, and some for both. So the workflow must be configured to provide for this.
1 parent 3864bd6 commit 1f851fe

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed
 

‎.github/workflows/compile-examples.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ jobs:
3636
matrix:
3737
board:
3838
- fqbn: arduino:mbed_portenta:envie_m7
39+
sketch-paths: |
40+
- examples/BLE Connectivity on Portenta H7/PortentaBLE
41+
- examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore
42+
- examples/Dual Core Processing/BlinkRedLed
43+
- examples/Dual Core Processing/BlinkRedLed_M7
44+
- examples/Portenta H7 as a USB Host/LEDKeyboardController
45+
- examples/Portenta H7 as a WiFi Access Point/SimpleWebServer
46+
- examples/Setting Up Portenta H7 For Arduino/Blink
47+
- fqbn: arduino:mbed_portenta:envie_m4
48+
sketch-paths: |
49+
- examples/Dual Core Processing/BlinkGreenLed_M4
3950
4051
steps:
4152
- name: Checkout
@@ -53,8 +64,10 @@ jobs:
5364
- name: ArduinoBLE
5465
5566
sketch-paths: |
56-
- './examples/'
57-
67+
# Sketches to compile for all boards
68+
- examples/Dual Core Processing/BlinkBothCores
69+
# Board-specific sketches
70+
${{ matrix.board.sketch-paths }}
5871
enable-deltas-report: true
5972
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
6073

0 commit comments

Comments
 (0)
Please sign in to comment.