Update ros-ci.yml

This commit is contained in:
Du Ruixiang
2020-08-15 22:21:39 +08:00
committed by GitHub
parent 0142853f9e
commit 8277ccf0e1

View File

@@ -21,8 +21,8 @@ jobs:
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies #- name: Install dependencies
run: sudo apt-get install -y build-essential cmake libasio-dev # run: sudo apt-get install -y build-essential cmake libasio-dev
- 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