File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1- on :
2- push :
3- branches :
4- - master
5- pull_request :
1+ on : [push, pull_request]
62
73env :
84 DISPLAY : ' :0.0'
@@ -16,16 +12,19 @@ jobs:
1612 matrix :
1713 include :
1814 - ROS_DISTRO : melodic
15+ PYTHON_VERSION : python2
1916 - ROS_DISTRO : noetic
17+ PYTHON_VERSION : python3
2018
2119 container :
2220 image : ros:${{ matrix.ROS_DISTRO }}-ros-core
2321
2422 steps :
2523 - name : Chcekout
2624 uses : actions/checkout@v4
27- with :
28- submodules : true
25+
26+ - name : Update apt packages
27+ run : sudo apt update -y -qq
2928
3029 - name : Start X server
3130 run : |
3938 xhost +local:root
4039 shell : bash
4140
41+ - name : Setup ROS
42+ run : |
43+ sudo apt -y -qq install ${{ matrix.PYTHON_VERSION }}-rosdep ${{ matrix.PYTHON_VERSION }}-catkin-tools
44+ sudo rosdep init
45+ rosdep update
46+
4247 - name : Setup Workspace
4348 run : |
4449 source /opt/ros/${{ matrix.ROS_DISTRO }}/setup.bash
You can’t perform that action at this time.
0 commit comments