Skip to content

Commit b56e096

Browse files
committed
CMake: Use mbedtools build subcommand in travis CI
Use the tools as intended for end-users
1 parent a7df684 commit b56e096

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ matrix:
143143
# Replace the content of mbed-os.lib to stay on ${TRAVIS_PULL_REQUEST}
144144
- echo “” > mbed-os.lib
145145
- mbedtools checkout;
146-
- mbedtools configure -t GCC_ARM -m ${TARGET_NAME};
147-
- mkdir -p build
148146
script:
149-
- cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=${PROFILE} && cmake --build .
147+
- mbedtools build -t GCC_ARM -m ${TARGET_NAME} -b ${PROFILE} -c
150148

151149
- <<: *cmake-build-test
152150
name: "CMake blinky example - release (K64F)"

0 commit comments

Comments
 (0)