Skip to content

Commit 904ee61

Browse files
committed
Adding missing mbed based platforms, eliminating no longer needed library for CI build.
1 parent 911f10c commit 904ee61

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/compile-examples.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,14 @@ env:
2626

2727
jobs:
2828
compile-test:
29-
name: compile for ${{ matrix.fqbn }}
29+
name: ${{ matrix.board.fqbn }}
3030
runs-on: ubuntu-latest
3131

3232
env:
3333
# libraries to install for all boards
3434
UNIVERSAL_LIBRARIES: |
3535
# Install the Arduino_Threads library from the repository
3636
- source-path: ./
37-
- name: Arduino_LSM9DS1
38-
- name: Arduino_APDS9960
39-
- name: ArduinoECCX08
40-
- name: Arduino_HTS221
41-
- name: OneWire
4237
# sketch paths to compile (recursive) for all boards
4338
UNIVERSAL_SKETCH_PATHS: |
4439
- examples
@@ -49,10 +44,19 @@ jobs:
4944
fail-fast: false
5045

5146
matrix:
52-
fqbn:
53-
- "arduino:mbed:nano33ble"
54-
# - "arduino:mbed:envie_m4"
55-
- "arduino:mbed:envie_m7"
47+
board:
48+
- fqbn: arduino:mbed_nano:nano33ble
49+
platforms: |
50+
- name: arduino:mbed_nano
51+
- fqbn: arduino:mbed_nano:nanorp2040connect
52+
platforms: |
53+
- name: arduino:mbed_nano
54+
- fqbn: arduino:mbed_portenta:envie_m4
55+
platforms: |
56+
- name: arduino:mbed_portenta
57+
- fqbn: arduino:mbed_portenta:envie_m7
58+
platforms: |
59+
- name: arduino:mbed_portenta
5660
5761
steps:
5862
- name: Checkout
@@ -83,15 +87,10 @@ jobs:
8387
uses: arduino/compile-sketches@v1
8488
with:
8589
cli-version: 'arduino_threads'
86-
fqbn: ${{ matrix.fqbn }}
90+
fqbn: ${{ matrix.board.fqbn }}
8791
libraries: |
8892
${{ env.UNIVERSAL_LIBRARIES }}
89-
platforms: |
90-
# Use Board Manager to install the latest release of Arduino mbed Boards to get the toolchain
91-
- name: "arduino:mbed"
92-
# Overwrite the Board Manager installation with the local platform
93-
- source-path: "extras/ArduinoCore-mbed"
94-
name: "arduino:mbed"
93+
platforms: ${{ matrix.board.platforms }}
9594
sketch-paths: |
9695
${{ env.UNIVERSAL_SKETCH_PATHS }}
9796
enable-deltas-report: 'true'

0 commit comments

Comments
 (0)