File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ matrix:
109
109
- &cmake-build-test
110
110
stage : " CMake"
111
111
name : " CMake blinky example"
112
- env : NAME=cmake_test
112
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky
113
113
language : python
114
114
python : 3.8
115
115
install :
@@ -121,8 +121,8 @@ matrix:
121
121
# We use manual clone, with depth and single branch = the fastest
122
122
# Because of this, we need to create .mbed file as the current tools require it
123
123
- >-
124
- git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/mbed-os-example-blinky .git;
125
- cd mbed-os-example-blinky ;
124
+ git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/${EXAMPLE_NAME} .git;
125
+ cd ${EXAMPLE_NAME} ;
126
126
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
127
127
cd mbed-os;
128
128
git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge;
@@ -135,6 +135,10 @@ matrix:
135
135
script :
136
136
- cd build && cmake .. -GNinja -DMBED_PROFILE=develop && cmake --build .
137
137
138
+ - << : *cmake-build-test
139
+ name : " CMake kvstore example"
140
+ env : NAME=cmake_test EXAMPLE_NAME=mbed-os-example-kvstore
141
+
138
142
# ## Docs Tests ###
139
143
- &docs-vm
140
144
stage : " Docs"
You can’t perform that action at this time.
0 commit comments