Skip to content

Commit

Permalink
Add Travis apps build to stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jolting committed Mar 27, 2018
1 parent 9013eb4 commit d5c0d67
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
23 changes: 15 additions & 8 deletions .travis.yml
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
include:
- stage: Core Build Stage 1
- stage: Build Stage 1
env: STAGE=1 TASK="build" DEPS="full" BUILD_TARGET="mrpt-hmtslam"
compiler: gcc
- env: STAGE=1 TASK="build" DEPS="full" BUILD_TARGET="mrpt-hmtslam"
Expand All @@ -29,23 +29,30 @@ jobs:
compiler: gcc
- env: STAGE=1 TASK="build" DEPS="minimal" BUILD_TARGET="mrpt-hmtslam"
compiler: gcc
- stage: Core Build Examples
env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="examples"
- stage: Tests, Examples, apps
env: STAGE=2 TASK="test" DEPS="full"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="full"
compiler: clang
- env: STAGE=2 TASK="test" DEPS="headless"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="minimal"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="examples"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="examples"
compiler: clang
- env: STAGE=2 TASK="build" DEPS="headless" BUILD_TARGET="examples"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="minimal" BUILD_TARGET="examples"
compiler: gcc
- stage: Core Build Tests Examples
env: STAGE=2 TASK="test" DEPS="full"
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="apps"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="full"
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="apps"
compiler: clang
- env: STAGE=2 TASK="test" DEPS="headless"
- env: STAGE=2 TASK="build" DEPS="headless" BUILD_TARGET="apps"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="minimal"
- env: STAGE=2 TASK="build" DEPS="minimal" BUILD_TARGET="apps"
compiler: gcc
- stage: Extended Builds and Tests
language: python
Expand Down
6 changes: 5 additions & 1 deletion cmakemodules/DeclareAppDependencies.cmake
@@ -1,9 +1,13 @@
# Declares the dependencies of an application:
# Usage: DeclareAppDependencies( appTargetName [mrpt-xxx [mrpt-yyy] ...] )
#
add_custom_target(apps ALL)

macro(DeclareAppDependencies name)
add_dependencies(apps ${name})

# Set app names:
set_target_properties(${name} PROPERTIES FOLDER "applications")
set_target_properties(${name} PROPERTIES FOLDER "applications")

# set deps:
set(ALL_DEPS "")
Expand Down

0 comments on commit d5c0d67

Please sign in to comment.