Skip to content

Commit

Permalink
travis.yml: Use mbedtools build command to build examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rwalton-arm authored and Patater committed Oct 5, 2020
1 parent 983f654 commit 495311c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ matrix:
- cd ..
- _clone_dependencies
script:
- _config_and_build
- mbedtools build -t GCC_ARM -m ${TARGET_NAME}
- ccache -s

- <<: *mbed-tools-test
Expand Down
8 changes: 0 additions & 8 deletions travis-ci/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ _setup_build_env()
pip install --upgrade cmake
}

_config_and_build()
{
mbedtools configure -t GCC_ARM -m ${TARGET_NAME}

cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=${PROFILE}
cmake --build build
}

_clone_dependencies()
{
# We use manual clone, with depth and single branch = the fastest
Expand Down

0 comments on commit 495311c

Please sign in to comment.