@@ -121,13 +121,18 @@ matrix:
121
121
- pip install --upgrade mbed-tools
122
122
# We use manual clone, with depth and single branch = the fastest
123
123
# Because of this, we need to create .mbed file as the current tools require it
124
+ - git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/${EXAMPLE_NAME}.git;
124
125
- >-
125
- git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/${EXAMPLE_NAME}.git;
126
- cd ${EXAMPLE_NAME};
127
- git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
128
- cd mbed-os;
129
- git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge;
130
- git checkout -qf FETCH_HEAD
126
+ if [ -z ${SUBEXAMPLE_NAME} ]; then
127
+ cd ${EXAMPLE_NAME};
128
+ else
129
+ cd ${EXAMPLE_NAME}/${SUBEXAMPLE_NAME};
130
+ fi
131
+ - >-
132
+ git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
133
+ cd mbed-os;
134
+ git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge;
135
+ git checkout -qf FETCH_HEAD
131
136
- >-
132
137
cd -;
133
138
touch .mbed;
@@ -168,6 +173,39 @@ matrix:
168
173
name : " CMake blinky example - debug (NRF52840_DK)"
169
174
env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=NRF52840_DK PROFILE=debug
170
175
176
+ - << : *cmake-build-test
177
+ name : " CMake kvstore example (K64F)"
178
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-kvstore TARGET_NAME=K64F
179
+
180
+ - << : *cmake-build-test
181
+ name : " CMake ble example (NRF52840_DK)"
182
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-ble TARGET_NAME=NRF52840_DK SUBEXAMPLE_NAME=BLE_Button
183
+
184
+ - << : *cmake-build-test
185
+ name : " CMake cellular example (WIO_3G)"
186
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-cellular TARGET_NAME=WIO_3G
187
+
188
+ - << : *cmake-build-test
189
+ name : " CMake devicekey example (K66F)"
190
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-devicekey TARGET_NAME=K66F
191
+
192
+ - << : *cmake-build-test
193
+ name : " CMake lorawan example (K66F)"
194
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-lorawan TARGET_NAME=K66F
195
+
196
+ - << : *cmake-build-test
197
+ name : " CMake crypto example (K64F)"
198
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-mbed-crypto TARGET_NAME=K64F SUBEXAMPLE_NAME=getting-started
199
+
200
+ - << : *cmake-build-test
201
+ name : " CMake nfc example (DISCO_L475VG_IOT01A)"
202
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-nfc TARGET_NAME=DISCO_L475VG_IOT01A SUBEXAMPLE_NAME=NFC_EEPROM
203
+
204
+ - << : *cmake-build-test
205
+ name : " CMake sockets example (K64F)"
206
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-sockets TARGET_NAME=K64F
207
+
208
+
171
209
172
210
# ## Docs Tests ###
173
211
- &docs-vm
0 commit comments