File tree Expand file tree Collapse file tree 1 file changed +28
-29
lines changed
Expand file tree Collapse file tree 1 file changed +28
-29
lines changed Original file line number Diff line number Diff line change @@ -3,36 +3,35 @@ name: CI micro-ROS Agent
33on :
44 pull_request :
55 branches :
6- - ' **'
6+ - ' humble'
7+ schedule :
8+ - cron : ' 33 6 * * *'
79
810jobs :
911
1012 microros_agent_ci :
11- runs-on : ubuntu-20.04
12- container : microros/base:rolling
13-
14- steps :
15- - uses : actions/checkout@v2
16- with :
17- path : urosagent
18-
19- - name : Download dependencies
20- run : |
21- apt update
22- cd /uros_ws
23- . /opt/ros/$ROS_DISTRO/setup.sh
24- . install/local_setup.sh
25- rosdep update --rosdistro=$ROS_DISTRO
26- ros2 run micro_ros_setup create_agent_ws.sh
27-
28- - name : Patch branch
29- run : |
30- rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
31- cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/
32-
33- - name : Build
34- run : |
35- cd /uros_ws
36- . /opt/ros/$ROS_DISTRO/setup.sh
37- . install/local_setup.sh
38- ros2 run micro_ros_setup build_agent.sh
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ os : [ ubuntu-20.04 ]
18+ ros_distribution : [ humble ]
19+ include :
20+ - docker_image : ubuntu:jammy
21+ ros_distribution : humble
22+ container :
23+ image : ubuntu:jammy
24+ steps :
25+ - uses : actions/checkout@v2
26+ -
uses :
ros-tooling/[email protected] 27+ with :
28+ use-ros2-testing : true
29+ required-ros-distributions : ${{ matrix.ros_distribution }}
30+ - name : Download and install dependencies
31+ run : |
32+ apt-get install ros-${{ matrix.ros_distribution }}-micro-ros-msgs
33+ apt-get install ros-${{ matrix.ros_distribution }}-rmw-fastrtps-cpp
34+ -
uses :
ros-tooling/[email protected] 35+ with :
36+ package-name : " micro_ros_agent"
37+ target-ros2-distro : ${{ matrix.ros_distribution }}
You can’t perform that action at this time.
0 commit comments