Skip to content

Commit 5da3f4b

Browse files
committed
remove uncorrelated boards and add XIAO nRF52840 in yml
1 parent 7554303 commit 5da3f4b

File tree

1 file changed

+14
-60
lines changed

1 file changed

+14
-60
lines changed

.github/workflows/compile-examples.yml

Lines changed: 14 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -25,71 +25,33 @@ jobs:
2525
env:
2626
# sketch paths to compile (recursive) compatible with all boards
2727
UNIVERSAL_SKETCH_PATHS: |
28+
- libraries/PDM
2829
- libraries/Scheduler
30+
- libraries/USBHID
2931
SKETCHES_REPORTS_PATH: sketches-reports
3032

3133
strategy:
3234
fail-fast: false
3335

3436
matrix:
3537
board:
36-
- fqbn: arduino:mbed:nano33ble
37-
- fqbn: arduino:mbed:envie_m4
38-
- fqbn: arduino:mbed:envie_m7
39-
- fqbn: arduino:mbed:nanorp2040connect
40-
- fqbn: arduino:mbed:nicla_sense
38+
- fqbn: Seeeduino:nrf52:xiaonRF52840Sense
39+
type: nrf52
4140

42-
# compile only the examples compatible with each board
41+
# Make board type-specific configurations
4342
include:
4443
- board:
45-
fqbn: arduino:mbed:nano33ble
44+
type: nrf52
45+
platforms: |
46+
# Use Boards Manager to install the latest release of the platform to get the toolchain
47+
- source-url: "https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json"
48+
name: "Seeeduino:nrf52"
49+
# Overwrite the Board Manager installation with the local platform
50+
- source-path: "./"
51+
name: "Seeeduino:nrf52"
4652
additional-sketch-paths: |
47-
- libraries/PDM
4853
- libraries/ThreadDebug
49-
- libraries/USBHID
5054
- libraries/USBMSD/examples/Nano33BLE_FlashMassStorage
51-
- board:
52-
fqbn: arduino:mbed:envie_m4
53-
additional-libraries: |
54-
- name: lvgl
55-
additional-sketch-paths: |
56-
- libraries/doom
57-
- libraries/KernelDebug
58-
- libraries/Portenta_SDCARD
59-
- libraries/Portenta_SDRAM
60-
- libraries/Portenta_Video
61-
- libraries/RPC
62-
- board:
63-
fqbn: arduino:mbed:envie_m7
64-
additional-libraries: |
65-
- name: lvgl
66-
version: 7.11.0
67-
additional-sketch-paths: |
68-
- libraries/PDM
69-
- libraries/doom
70-
- libraries/KernelDebug
71-
- libraries/Portenta_Camera/examples
72-
- libraries/Portenta_lvgl/examples/Portenta_lvgl
73-
- libraries/Portenta_SDCARD
74-
- libraries/Portenta_SDRAM
75-
- libraries/Portenta_System
76-
- libraries/Portenta_Video
77-
- libraries/RPC
78-
- libraries/ThreadDebug
79-
- libraries/USBHID
80-
- libraries/USBHOST
81-
- libraries/USBMSD/examples/AccessFlashAsUSBDisk
82-
- libraries/WiFi
83-
- board:
84-
fqbn: arduino:mbed:nanorp2040connect
85-
additional-sketch-paths: |
86-
- libraries/PDM
87-
- libraries/USBHID
88-
- ~/Arduino/libraries/WiFiNINA
89-
- board:
90-
fqbn: arduino:mbed:nicla_sense
91-
additional-sketch-paths: |
92-
- libraries/Nicla_System
9355
9456
steps:
9557
- name: Checkout repository
@@ -110,15 +72,7 @@ jobs:
11072
with:
11173
github-token: ${{ secrets.GITHUB_TOKEN }}
11274
fqbn: ${{ matrix.board.fqbn }}
113-
libraries: |
114-
- name: WiFiNINA
115-
${{ matrix.additional-libraries }}
116-
platforms: |
117-
# Use Board Manager to install the latest release of Arduino mbed Boards to get the toolchain
118-
- name: "arduino:mbed"
119-
# Overwrite the Board Manager installation with the local platform
120-
- source-path: "./"
121-
name: "arduino:mbed"
75+
platforms: ${{ matrix.platforms }}
12276
sketch-paths: |
12377
${{ env.UNIVERSAL_SKETCH_PATHS }}
12478
${{ matrix.additional-sketch-paths }}

0 commit comments

Comments
 (0)