fixing ros ci on github

This commit is contained in:
Ruixiang Du
2020-10-23 14:47:47 +08:00
parent 13f9ae760f
commit ae6fb2cd01

View File

@@ -26,8 +26,6 @@ jobs:
- name: Create catkin workspace - name: Create catkin workspace
run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- name: Copy code to catkin workspace - name: Copy code to catkin workspace
run: cd /catkin_ws/src && cp -r $GITHUB_WORKSPACE . run: cd /catkin_ws/src && git clone --recursive https://github.com/westonrobot/ugv_sdk
- name: Update git submodule
run: cd /catkin_ws/src/ugv_sdk && git submodule update --init --recursive
- name: Run catkin_make - name: Run catkin_make
run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make" run: cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make"