mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
fixing ros ci on github
This commit is contained in:
4
.github/workflows/ros-ci.yml
vendored
4
.github/workflows/ros-ci.yml
vendored
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user