added scout_base and hunter_base in ci config to test building dependency

This commit is contained in:
Ruixiang Du
2020-09-14 17:02:07 +08:00
parent 6914169386
commit 6219d9ba5d

View File

@@ -59,6 +59,8 @@ melodic-catkin-build:
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
melodic-catkin-isolated-build:
@@ -69,6 +71,8 @@ melodic-catkin-isolated-build:
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"
noetic-catkin-build:
@@ -79,6 +83,8 @@ noetic-catkin-build:
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"
noetic-catkin-isolated-build:
@@ -89,4 +95,6 @@ noetic-catkin-isolated-build:
script:
- mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git
- cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git
- cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install"