forked from westonrobot/scout_navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
95 lines (90 loc) · 5.23 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
kinetic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:kinetic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
kinetic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:kinetic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
melodic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:melodic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
melodic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:melodic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
noetic-catkin-build:
stage: build
image: rduweston/ubuntu-ci:noetic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
noetic-catkin-isolated-build:
stage: build
image: rduweston/ubuntu-ci:noetic
before_script:
- apt update
- apt install -y ros-$ROS_DISTRO-ros-controllers ros-$ROS_DISTRO-joint-state-publisher-gui
- apt install -y ros-$ROS_DISTRO-navigation ros-$ROS_DISTRO-teb-local-planner
- apt install -y ros-$ROS_DISTRO-webots-ros ros-$ROS_DISTRO-pcl-ros
- apt install -y ros-$ROS_DISTRO-pointcloud-to-laserscan
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/wrp_sdk.git
- cd /catkin_ws/src && git clone https://github.com/westonrobot/scout_base.git
- cd /catkin_ws/src && cp -r $CI_BUILDS_DIR .
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"