Skip to content

Commit b466d3d

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

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/compile-examples.yml

+15-11
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,7 +87,7 @@ 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 }}
8993
platforms: |

0 commit comments

Comments
 (0)