44 pull_request :
55 paths :
66 - " .github/workflows/compile-examples.yml"
7+ - " library.properties"
78 - " examples/**"
89
910 push :
1011 paths :
1112 - " .github/workflows/compile-examples.yml"
13+ - " library.properties"
1214 - " examples/**"
1315
1416 # Scheduled trigger checks for breakage caused by changes to external resources (libraries, platforms)
2224
2325jobs :
2426 build :
27+ name : ${{ matrix.board.fqbn }}
2528 runs-on : ubuntu-latest
2629
2730 env :
@@ -32,14 +35,25 @@ jobs:
3235
3336 matrix :
3437 board :
35- - fqbn : arduino:mbed:envie_m7
38+ - 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
3650
3751 steps :
3852 - name : Checkout
3953 uses : actions/checkout@v2
4054
4155 - name : Compile examples
42- uses : arduino/compile-sketches@main
56+ uses : arduino/compile-sketches@v1
4357 with :
4458 github-token : ${{ secrets.GITHUB_TOKEN }}
4559 fqbn : ${{ matrix.board.fqbn }}
@@ -50,13 +64,16 @@ jobs:
5064 - name: ArduinoBLE
5165
5266 sketch-paths : |
53- - './examples/'
54-
67+ # Sketches to compile for all boards
68+ - examples/Dual Core Processing/BlinkBothCores
69+ # Board-specific sketches
70+ ${{ matrix.board.sketch-paths }}
5571 enable-deltas-report : true
5672 sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
5773
5874 - name : Save memory usage change report as artifact
5975 uses : actions/upload-artifact@v2
6076 with :
77+ if-no-files-found : error
6178 name : ${{ env.SKETCHES_REPORTS_PATH }}
6279 path : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments