Update ros-ci.yml

This commit is contained in:
Du Ruixiang
2020-08-15 22:07:35 +08:00
committed by GitHub
parent 7d5dfb643e
commit 32127dcbe8

View File

@@ -21,8 +21,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup catkin workspace
run: mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/melodic/setup.bash" && catkin_init_workspace
- name: Create catkin workspace folder
run: mkdir -p /catkin_ws/src && cd /catkin_ws/src
- name: Init catkin workspace
run: /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace"
- name: Copy code to catkin workspace
run: cp -r $GITHUB_WORKSPACE/wrp_sdk /catkin_ws/src
- name: Run catkin_make