Skip to content

Commit

Permalink
Bump jazzy (#308)
Browse files Browse the repository at this point in the history
* Bump jazzy

* Fix linting
  • Loading branch information
pablogs9 authored May 31, 2024
1 parent 6833232 commit 9e9637f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ on:
- humble
- iron
- rolling
- jazzy
pull_request:
branches:
- '**'

jobs:
rmw_microxrcedds_ci:
runs-on: ubuntu-latest
container: microros/micro-ros-agent:rolling
container: microros/micro-ros-agent:jazzy

steps:
- uses: actions/checkout@v3
Expand All @@ -25,12 +26,12 @@ jobs:
apt update && apt install -y python3-pip git python3-rosdep python3-colcon-common-extensions curl ros-$ROS_DISTRO-performance-test-fixture
git clone -b ros2 https://github.com/eProsima/Micro-CDR src/Micro-CDR
git clone -b ros2 https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client
git clone -b rolling https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds
git clone -b rolling https://github.com/ros2/rmw src/rmw
git clone -b jazzy https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds
git clone -b jazzy https://github.com/ros2/rmw src/rmw
touch src/rosidl_typesupport_microxrcedds/test/COLCON_IGNORE
# Install coverage tools
pip3 install gcovr
apt install -y gcovr
. /opt/ros/$ROS_DISTRO/setup.sh
rosdep init && rosdep update
rosdep install --from-paths src -r
Expand All @@ -46,15 +47,6 @@ jobs:
colcon test --event-handlers console_direct+ --packages-select=rmw_microxrcedds --return-code-on-test-failure
./build/rmw_microxrcedds/test/test-sizes 2> memanalisys_out
- name: Static memory
continue-on-error: true
if: github.event_name == 'pull_request'
uses: machine-learning-apps/pr-comment@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: memanalisys_out

- name: Coverage
run: |
cd src/rmw-microxrcedds/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/uncrustify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
run_uncrustify:
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, 'Marie Kondo')
runs-on: ubuntu-latest
container: ros:rolling
container: ros:jazzy
steps:
- uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
Expand Down
4 changes: 3 additions & 1 deletion rmw_microxrcedds_c/src/rmw_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ rmw_ret_t rmw_graph_init(

graph_info->datareader_id = uxr_object_id(context->id_datareader++, UXR_DATAREADER_ID);
const char * graph_topic_name = "ros_to_microros_graph";

graph_info->graph_type_support =
rosidl_typesupport_microxrcedds_c__get_message_type_support_handle__micro_ros_msgs__msg__Graph(); //NOLINT
// NOLINTNEXTLINE
rosidl_typesupport_microxrcedds_c__get_message_type_support_handle__micro_ros_msgs__msg__Graph();

// Create graph topic request
graph_info->topic_id = uxr_object_id(context->id_topic++, UXR_TOPIC_ID);
Expand Down

0 comments on commit 9e9637f

Please sign in to comment.