forked from jrl-umi3218/mc_rtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
133 lines (123 loc) · 5.95 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
variables:
CI_TOOL: gitlab-ci
APT_DEPENDENCIES: "cython python-pip python-coverage python-numpy python-nose libtinyxml2-dev libboost-all-dev libjsoncpp-dev libgeos++-dev libgeos-dev qhull-bin libqhull-dev libltdl-dev python-enum34"
GIT_DEPENDENCIES: "jrl-umi3218/Eigen3ToPython jrl-umi3218/SpaceVecAlg jbeder/yaml-cpp jrl-umi3218/RBDyn jrl-umi3218/eigen-qld [email protected]:multi-contact/eigen-lssol.git jrl-umi3218/eigen-quadprog jrl-umi3218/sch-core jrl-umi3218/sch-core-python jrl-umi3218/Tasks jrl-umi3218/mc_rbdyn_urdf nanomsg/nanomsg humanoid-path-planner/hpp-spline#v4.8.1 gabime/spdlog#v1.6.1"
GITE_PACKAGES: "multi-contact/eigen-lssol multi-contact/tasks-packaging#topic/CIPackaging multi-contact/mc_env_description#karim_drc"
MASTER_PPA: "v-launchpad-jochen-sprickerhof-de/pcl hrg/daily"
ROS_DISTRO: "indigo"
CMAKE_ADDITIONAL_OPTIONS: "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_PYTHON_INTERFACE:BOOL=OFF -DYAML_BUILD_SHARED_LIBS:BOOL=ON -DSPDLOG_BUILD_SHARED:BOOL=ON -DSPDLOG_BUILD_EXAMPLE:BOOL=OFF"
DO_COVERAGE_ON_BRANCH: ""
DO_CPPCHECK_ON_BRANCH: ""
before_script:
- git submodule update --quiet --init --recursive
- add-apt-repository ppa:pierre-gergondet+ppa/multi-contact-unstable && apt-get update && apt-get upgrade cmake libeigen3-dev -qq
- rm -rf debian
sync-github:
only:
refs:
- master
stage: sync-github
before_script:
- git submodule update --quiet --init --recursive
script:
- git checkout -b master origin/master
- git remote add github https://gergondet:${GITHUB_TOKEN}@github.com/jrl-umi3218/mc_rtc
- git push github master:master
tags:
- pid, x86_64_linux_abi11
clang-format:
stage: clang-format
before_script: []
script:
- ./.clang-format-check.sh
tags:
- clang-format
build_debian:
stage: build
before_script: []
script:
- git submodule update --quiet --init --recursive
- rm -rf debian
- apt-get update && apt-get install -qq wget python-pip
- wget --quiet https://cmake.org/files/v3.5/cmake-3.5.2-Linux-i386.sh && chmod +x cmake-3.5.2-Linux-i386.sh && ./cmake-3.5.2-Linux-i386.sh --prefix=/usr --skip-license
- pip install --upgrade cython numpy coverage nose
- ./.jrl-ci/dependencies/eigen-3.3
- rm -rf $HOME/.cmake/packages/Eigen3/
- export APT_DEPENDENCIES="cython python-pip python-coverage python-numpy python-nose libtinyxml2-dev libboost-all-dev libgeos++-dev libgeos-dev qhull-bin libqhull-dev libltdl-dev"
- export GIT_DEPENDENCIES="jrl-umi3218/Eigen3ToPython jrl-umi3218/SpaceVecAlg jbeder/yaml-cpp#yaml-cpp-0.5.3 jrl-umi3218/eigen-qld [email protected]:multi-contact/eigen-lssol.git jrl-umi3218/eigen-quadprog jrl-umi3218/sch-core jrl-umi3218/sch-core-python jrl-umi3218/RBDyn jrl-umi3218/Tasks jrl-umi3218/mc_rbdyn_urdf nanomsg/nanomsg humanoid-path-planner/hpp-spline#v4.8.1 gabime/spdlog#v1.6.1"
- export MASTER_PPA=""
- export ROS_GIT_DEPENDENCIES="[email protected]:multi-contact/mc_rtc_ros_data"
- mkdir -p /tmp/_ci/catkin_dep_ws/src
- ./.jrl-ci/run before_install
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- debian
build_gcc_noros:
stage: build
script:
- export ROS_DISTRO=""
- export GIT_DEPENDENCIES="$GIT_DEPENDENCIES [email protected]:multi-contact/mc_rtc_ros_data"
- ./.jrl-ci/run before_install
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- GCC
build_gcc_ros:
stage: build
script:
- ./.jrl-ci/run before_install
- ./.jrl-ci/dependencies/catkin
- export MASTER_PPA=""
- export APT_DEPENDENCIES="ros-indigo-common-msgs ros-indigo-tf2-ros ros-indigo-xacro ros-indigo-rviz-animated-view-controller"
- export GIT_DEPENDENCIES=""
- export ROS_GIT_DEPENDENCIES="[email protected]:multi-contact/mc_rtc_ros_data"
- ./.jrl-ci/run before_install
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- GCC
build_gcc_ros_debug:
stage: build
script:
- export APT_DEPENDENCIES="cython python-pip python-coverage python-numpy python-nose libtinyxml2-dev libboost-all-dev libjsoncpp-dev libgeos++-dev libgeos-dev qhull-bin libqhull-dev libltdl-dev libeigen3-dev"
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DBUILD_PYTHON_INTERFACE:BOOL=OFF -DYAML_BUILD_SHARED_LIBS:BOOL=ON -DSPDLOG_BUILD_SHARED:BOOL=ON -DSPDLOG_BUILD_EXAMPLE:BOOL=OFF"
- export GIT_DEPENDENCIES="jrl-umi3218/Eigen3ToPython jrl-umi3218/SpaceVecAlg jbeder/yaml-cpp jrl-umi3218/eigen-qld [email protected]:multi-contact/eigen-lssol.git jrl-umi3218/eigen-quadprog jrl-umi3218/sch-core jrl-umi3218/sch-core-python jrl-umi3218/RBDyn jrl-umi3218/Tasks jrl-umi3218/mc_rbdyn_urdf nanomsg/nanomsg humanoid-path-planner/hpp-spline#v4.8.1 gabime/spdlog#v1.6.1"
- ./.jrl-ci/run before_install
- ./.jrl-ci/dependencies/catkin
- export MASTER_PPA=""
- export APT_DEPENDENCIES="ros-indigo-common-msgs ros-indigo-tf2-ros ros-indigo-xacro ros-indigo-rviz-animated-view-controller"
- export GIT_DEPENDENCIES=""
- export ROS_GIT_DEPENDENCIES="[email protected]:multi-contact/mc_rtc_ros_data"
- ./.jrl-ci/run before_install
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- GCC
build_clang_ros:
stage: build
script:
- sed -i -e's/EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(IsAligned)/EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(bool(IsAligned))/' /usr/include/eigen3/Eigen/src/Geometry/Quaternion.h
- ./.jrl-ci/run before_install
- ./.jrl-ci/dependencies/catkin
- export MASTER_PPA=""
- export APT_DEPENDENCIES="ros-indigo-common-msgs ros-indigo-tf2-ros ros-indigo-xacro ros-indigo-rviz-animated-view-controller"
- export GIT_DEPENDENCIES=""
- export ROS_GIT_DEPENDENCIES="[email protected]:multi-contact/mc_rtc_ros_data"
- ./.jrl-ci/run before_install
- ./.jrl-ci/run build
- ./.jrl-ci/run after_success
tags:
- clang
build_with_script:
stage: build
script:
- cd utils
- ./build_and_install.sh --user-input false
tags:
- GCC
allow_failure: true
stages:
- sync-github
- clang-format
- build