Update ros-ci.yml

This commit is contained in:
Du Ruixiang
2020-08-15 22:19:00 +08:00
committed by GitHub
parent 0360e8c659
commit 0142853f9e

View File

@@ -22,7 +22,7 @@ jobs:
# 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 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