Update ros-ci.yml

This commit is contained in:
Du Ruixiang
2020-08-15 22:24:52 +08:00
committed by GitHub
parent 8277ccf0e1
commit 28002edfae

View File

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