Skip to content

travis: Check CMake builds CMake-capable targets #13426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ matrix:

- &cmake-build-test
stage: "CMake"
name: "CMake blinky example - develop"
name: "CMake blinky example - develop (K64F)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=K64F PROFILE=develop
language: python
python: 3.8
Expand Down Expand Up @@ -137,13 +137,37 @@ matrix:
- cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=${PROFILE} && cmake --build .

- <<: *cmake-build-test
name: "CMake blinky example - release"
name: "CMake blinky example - release (K64F)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=K64F PROFILE=release

- <<: *cmake-build-test
name: "CMake blinky example - debug"
name: "CMake blinky example - debug (K64F)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=K64F PROFILE=debug

- <<: *cmake-build-test
name: "CMake blinky example - develop (DISCO_L475VG_IOT01A)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=DISCO_L475VG_IOT01A PROFILE=develop

- <<: *cmake-build-test
name: "CMake blinky example - release (DISCO_L475VG_IOT01A)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=DISCO_L475VG_IOT01A PROFILE=release

- <<: *cmake-build-test
name: "CMake blinky example - debug (DISCO_L475VG_IOT01A)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=DISCO_L475VG_IOT01A PROFILE=debug

- <<: *cmake-build-test
name: "CMake blinky example - develop (NRF52840_DK)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=NRF52840_DK PROFILE=develop

- <<: *cmake-build-test
name: "CMake blinky example - release (NRF52840_DK)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=NRF52840_DK PROFILE=release

- <<: *cmake-build-test
name: "CMake blinky example - debug (NRF52840_DK)"
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky TARGET_NAME=NRF52840_DK PROFILE=debug


### Docs Tests ###
- &docs-vm
Expand Down