Update python-catkin-pkg to python3-catkin-pkg for noetic #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS melodic CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
container: ros:melodic-ros-base | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install catkin & package dependencies | |
run: | | |
cd / && ./ros_entrypoint.sh | |
apt-get update | |
apt-get install -y python-pip | |
apt-get install -y ros-melodic-catkin python-catkin-tools | |
apt-get install -y ros-melodic-roslint | |
- name: Setup catkin workspace | |
run: | | |
mkdir -p ~/catkin_ws/src | |
cd ~/catkin_ws | |
rosdep update | |
cd ~/catkin_ws/src | |
cp -r $GITHUB_WORKSPACE . | |
cd ~/catkin_ws | |
rosdep install --from-paths src --ignore-src -r -y | |
- name: Build package | |
run: | | |
cd ~/catkin_ws | |
/bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && catkin build" | |