File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,25 @@ matrix:
108
108
stage : " CMake"
109
109
name : " CMake blinky example"
110
110
env : NAME=cmake_test
111
+ language : python
112
+ python : 3.8
111
113
install :
112
114
# Install gcc
113
115
- source_pkg gcc
114
116
- arm-none-eabi-gcc --version
115
- - pip install --user --upgrade cmake
117
+ - pip install --upgrade cmake
118
+ - pip install --upgrade mbed-tools
119
+ # We use manual clone, with depth and single branch = the fastest
120
+ # Because of this, we need to create .mbed file as the current tools require it
116
121
- >-
117
122
git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/mbed-os-example-blinky.git;
118
123
cd mbed-os-example-blinky;
119
124
git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/mbed-os.git;
125
+ touch .mbed;
126
+ mbedtools configure -t GCC_ARM -m K64F;
120
127
mkdir -p build;
121
128
script :
122
- - cd build && cmake .. -GNinja && ninja
129
+ - cd build && cmake .. -GNinja -DMBED_PROFILE=develop && cmake --build .
123
130
124
131
# ## Docs Tests ###
125
132
- &docs-vm
You can’t perform that action at this time.
0 commit comments