File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed
Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ name : gz_ros2_control CI - Kilted
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ branches : [ kilted ]
7+ push :
8+ branches : [ kilted ]
9+ schedule :
10+ # Run every morning to detect flakiness and broken dependencies
11+ - cron : ' 03 5 * * *'
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ include :
20+ - docker-image : " ubuntu:24.04"
21+ ros-distro : " kilted"
22+ ros-repo-packages : " -testing"
23+ - docker-image : " ubuntu:24.04"
24+ ros-distro : " kilted"
25+ ros-repo-packages : " "
26+ env :
27+ ROS_DISTRO : ${{ matrix.ros-distro }}
28+ ROS_REPO_PACKAGES : ${{ matrix.ros-repo-packages }}
29+ container :
30+ image : ${{ matrix.docker-image }}
31+ steps :
32+ - uses : actions/checkout@v4
33+ - name : Setup colcon workspace
34+ id : configure
35+ shell : bash
36+ run : |
37+ export DEBIAN_FRONTEND=noninteractive
38+ apt update -qq
39+ apt install -qq -y lsb-release wget curl gnupg2 git
40+ cd ..
41+ mkdir -p /home/ros2_ws/src
42+ cp -r gz_ros2_control /home/ros2_ws/src/
43+ curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
44+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2$ROS_REPO_PACKAGES/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
45+
46+ apt-get update && apt-get upgrade -q -y
47+ apt-get update && apt-get install -qq -y \
48+ dirmngr \
49+ python3-colcon-ros \
50+ python3-colcon-common-extensions \
51+ python3-rosdep \
52+ build-essential
53+
54+ cd /home/ros2_ws/src/
55+ rosdep init
56+ rosdep update
57+ rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO} --ignore-src
58+ - name : Build project
59+ id : build
60+ run : |
61+ cd /home/ros2_ws/
62+ . /opt/ros/${ROS_DISTRO}/local_setup.sh
63+ colcon build --packages-up-to gz_ros2_control_demos gz_ros2_control_tests
64+ - name : Run tests
65+ id : test
66+ run : |
67+ cd /home/ros2_ws/
68+ . /opt/ros/${ROS_DISTRO}/local_setup.sh
69+ colcon test --event-handlers console_direct+ --packages-select gz_ros2_control gz_ros2_control_demos gz_ros2_control_tests
70+ colcon test-result
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ This package provides a Gazebo-Sim system plugin which instantiates a `ros2_cont
1414ROS version | Gazebo version | Branch | Binaries hosted at | APT key
1515-- | -- | -- | -- | --
1616Rolling | Ionic | [ rolling] ( https://github.com/ros-controls/gz_ros2_control/tree/rolling ) | [ packages.ros.org] ( https://packages.ros.org ) | ` ros-rolling-gz-ros2-control `
17+ Kilted | Ionic | [ kilted] ( https://github.com/ros-controls/gz_ros2_control/tree/kilted ) | [ packages.ros.org] ( https://packages.ros.org ) | ` ros-kilted-gz-ros2-control `
1718Jazzy | Harmonic | [ jazzy] ( https://github.com/ros-controls/gz_ros2_control/tree/jazzy ) | [ packages.ros.org] ( https://packages.ros.org ) | ` ros-jazzy-gz-ros2-control `
1819Humble | Fortress | [ humble] ( https://github.com/ros-controls/gz_ros2_control/tree/humble ) | [ packages.ros.org] ( https://packages.ros.org ) | ` ros-humble-gz-ros2-control `
1920Humble | Harmonic | [ humble] ( https://github.com/ros-controls/gz_ros2_control/tree/humble ) | build from source | -
@@ -32,6 +33,7 @@ If you are new to the project, please read the [contributing guide](https://cont
3233ROS 2 Distro | Branch | Build status | Documentation
3334:----------: | :----: | :----------: | :-----------:
3435** Rolling** | [ ` rolling ` ] ( https://github.com/ros-controls/gz_ros2_control/tree/rolling ) | [ ![ gazebo_ros2_control CI - Rolling] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-rolling.yaml/badge.svg?branch=rolling )] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-rolling.yaml ) | [ Documentation] ( https://control.ros.org/rolling/index.html ) <br > [ API Reference] ( https://control.ros.org/rolling/doc/api/index.html )
36+ ** Kilted** | [ ` kilted ` ] ( https://github.com/ros-controls/gz_ros2_control/tree/kilted ) | [ ![ gazebo_ros2_control CI - Kilted] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-kilted.yaml/badge.svg?branch=rolling )] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-kilted.yaml ) | [ Documentation] ( https://control.ros.org/kilted/index.html ) <br > [ API Reference] ( https://control.ros.org/kilted/doc/api/index.html )
3537** Jazzy** | [ ` jazzy ` ] ( https://github.com/ros-controls/gz_ros2_control/tree/jazzy ) | [ ![ gazebo_ros2_control CI - Jazzy] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-jazzy.yaml/badge.svg?branch=rolling )] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-jazzy.yaml ) | [ Documentation] ( https://control.ros.org/jazzy/index.html ) <br > [ API Reference] ( https://control.ros.org/jazzy/doc/api/index.html )
3638** Humble** | [ ` humble ` ] ( https://github.com/ros-controls/gz_ros2_control/tree/humble ) | [ ![ ign_ros2_control CI - Humble] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-humble.yaml/badge.svg?branch=humble )] ( https://github.com/ros-controls/gz_ros2_control/actions/workflows/ci-humble.yaml ) | [ Documentation] ( https://control.ros.org/humble/index.html ) <br > [ API Reference] ( https://control.ros.org/humble/doc/api/index.html )
3739
You can’t perform that action at this time.
0 commit comments