Skip to content

Commit 8c676c5

Browse files
committed
Use mbed_portenta released core instead of ArduinoCore-mbed HEAD
1 parent 9673032 commit 8c676c5

File tree

1 file changed

+5
-33
lines changed

1 file changed

+5
-33
lines changed

.github/workflows/compile-examples.yml

+5-33
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
- examples/ArduinoIoTCloud-Advanced
3030
- examples/ArduinoIoTCloud-Basic
3131
- examples/utility/ArduinoIoTCloud_Travis_CI
32-
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
33-
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
3432
SKETCHES_REPORTS_PATH: sketches-reports
3533

3634
strategy:
@@ -50,8 +48,8 @@ jobs:
5048
type: gsm
5149
- fqbn: arduino:samd:mkrnb1500
5250
type: nb
53-
- fqbn: arduino:mbed:envie_m7
54-
type: mbed
51+
- fqbn: arduino:mbed_portenta:envie_m7
52+
type: mbed_portenta
5553
- fqbn: esp8266:esp8266:huzzah
5654
type: esp8266
5755
- fqbn: esp32:esp32:esp32
@@ -128,18 +126,16 @@ jobs:
128126
- examples/utility/Provisioning
129127
# Portenta
130128
- board:
131-
type: mbed
129+
type: mbed_portenta
132130
platforms: |
133131
# Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
134-
- name: arduino:mbed
135-
# Overwrite the Arduino mbed-Enabled Boards release version with version from the tip of the master branch (located in local path because of the need to first install ArduinoCore-API)
136-
- source-path: extras/ArduinoCore-mbed
137-
name: arduino:mbed
132+
- name: arduino:mbed_portenta
138133
libraries: |
139134
- name: ArduinoECCX08
140135
- name: Arduino_Portenta_OTA
141136
sketch-paths: |
142137
- examples/utility/Provisioning
138+
# Nicla Vision
143139
- board:
144140
type: mbed_nicla
145141
platforms: |
@@ -174,30 +170,6 @@ jobs:
174170
- name: Checkout
175171
uses: actions/checkout@v2
176172

177-
# it's necessary to checkout the platform before installing it so that the ArduinoCore-API dependency can be added
178-
- name: Checkout ArduinoCore-mbed
179-
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
180-
if: matrix.board.type == 'mbed'
181-
uses: actions/checkout@v2
182-
with:
183-
repository: arduino/ArduinoCore-mbed
184-
# the arduino/compile-sketches action will install the platform from this path
185-
path: ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}
186-
187-
- name: Checkout ArduinoCore-API
188-
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
189-
if: matrix.board.type == 'mbed'
190-
uses: actions/checkout@v2
191-
with:
192-
repository: arduino/ArduinoCore-API
193-
path: ${{ env.ARDUINOCORE_API_STAGING_PATH }}
194-
195-
- name: Install ArduinoCore-API
196-
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
197-
if: matrix.board.type == 'mbed'
198-
run: |
199-
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
200-
201173
- name: Install ESP32 platform dependencies
202174
if: matrix.board.type == 'esp32'
203175
run: pip3 install pyserial

0 commit comments

Comments
 (0)