Skip to content

Commit

Permalink
Add ROS 2 condition for yaml_cpp_vendor package
Browse files Browse the repository at this point in the history
Prevent attempting to rosdep install a nonexistent package in ROS Noetic.
Also update docker pipeline to trigger on changes to package.xml files
across the repository.

Signed-off-by: Nahuel Espinosa <[email protected]>
  • Loading branch information
nahueespinosa committed May 28, 2024
1 parent 0739c5e commit 135cd6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker_ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: Docker CI pipeline
on:
push:
branches: [ main ]
paths: 'docker/**'
paths:
- 'docker/**'
- '**/package.xml'
pull_request:
branches: [ main ]
paths: 'docker/**'
paths:
- 'docker/**'
- '**/package.xml'
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday

Expand Down
2 changes: 1 addition & 1 deletion beluga_tutorial/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<buildtool_depend>cmake</buildtool_depend>

<depend>beluga</depend>
<depend>yaml_cpp_vendor</depend>
<depend condition="$ROS_VERSION == 2">yaml_cpp_vendor</depend>

<export>
<build_type>cmake</build_type>
Expand Down

0 comments on commit 135cd6b

Please sign in to comment.