Skip to content

update CI with jazzy and noble #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/rust-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,24 @@ jobs:
matrix:
ros_distribution:
- humble
- jazzy
- kilted
- rolling
include:
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros_distribution: humble
ros_version: 2
# Jazzy Jalisco (May 2024 - May 2029)
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
ros_distribution: jazzy
ros_version: 2
# Kilted Kaiju (May 2025 - Dec 2026)
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-kilted-ros-base-latest
ros_distribution: kilted
ros_version: 2
# Rolling Ridley (June 2020 - Present)
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros_distribution: rolling
ros_version: 2
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,8 +67,11 @@ jobs:
with:
components: clippy, rustfmt

# Colcon can not be run in a venv which is required in Ubuntu Noble
# Removing the externally managed file
- name: Install colcon-cargo and colcon-ros-cargo
run: |
sudo rm -f /usr/lib/python3.12/EXTERNALLY-MANAGED
Comment on lines +70 to +74
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting, I guess this is an alternative to the --break-system-packages flag? I didn't know this could be done!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes I read about that flag too. But I got this idea from my co-maintainer at Crazyswarm2 (see this line). But seems to work out!

sudo pip3 install git+https://github.com/colcon/colcon-cargo.git
sudo pip3 install git+https://github.com/colcon/colcon-ros-cargo.git
Expand All @@ -73,7 +86,7 @@ jobs:
- name: Build and test
id: build
uses: ros-tooling/action-ros-ci@v0.3
uses: ros-tooling/action-ros-ci@v0.4
with:
package-name: ${{ steps.list_packages.outputs.package_list }}
target-ros2-distro: ${{ matrix.ros_distribution }}
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/rust-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,24 @@ jobs:
matrix:
ros_distribution:
- humble
- jazzy
- kilted
- rolling
include:
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros_distribution: humble
ros_version: 2
# Jazzy Jalisco (May 2024 - May 2029)
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
ros_distribution: jazzy
ros_version: 2
# Kilted Kaiju (May 2025 - Dec 2026)
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-kilted-ros-base-latest
ros_distribution: kilted
ros_version: 2
# Rolling Ridley (June 2020 - Present)
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
- docker_image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
ros_distribution: rolling
ros_version: 2
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,8 +67,11 @@ jobs:
with:
components: clippy, rustfmt

# Colcon can not be run in a venv which is required in Ubuntu Noble
# Removing the externally managed file
- name: Install colcon-cargo and colcon-ros-cargo
run: |
sudo rm -f /usr/lib/python3.12/EXTERNALLY-MANAGED
sudo pip3 install git+https://github.com/colcon/colcon-cargo.git
sudo pip3 install git+https://github.com/colcon/colcon-ros-cargo.git

Expand All @@ -73,7 +86,7 @@ jobs:

- name: Build and test
id: build
uses: ros-tooling/action-ros-ci@v0.3
uses: ros-tooling/action-ros-ci@v0.4
with:
package-name: ${{ steps.list_packages.outputs.package_list }}
target-ros2-distro: ${{ matrix.ros_distribution }}
Expand Down
37 changes: 37 additions & 0 deletions ros2_rust_kilted.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
repositories:
ros2/common_interfaces:
type: git
url: https://github.com/ros2/common_interfaces.git
version: kilted
ros2/example_interfaces:
type: git
url: https://github.com/ros2/example_interfaces.git
version: kilted
ros2/rcl_interfaces:
type: git
url: https://github.com/ros2/rcl_interfaces.git
version: kilted
ros2/test_interface_files:
type: git
url: https://github.com/ros2/test_interface_files.git
version: kilted
ros2/rosidl_core:
type: git
url: https://github.com/ros2/rosidl_core.git
version: kilted
ros2/rosidl_defaults:
type: git
url: https://github.com/ros2/rosidl_defaults.git
version: kilted
ros2/unique_identifier_msgs:
type: git
url: https://github.com/ros2/unique_identifier_msgs.git
version: kilted
ros2-rust/rosidl_rust:
type: git
url: https://github.com/ros2-rust/rosidl_rust.git
version: main
ros2-rust/rosidl_runtime_rs:
type: git
url: https://github.com/ros2-rust/rosidl_runtime_rs.git
version: main