Skip to content
Closed
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
13 changes: 13 additions & 0 deletions .github/workflows/rust-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,25 @@ jobs:

- name: Build and test
id: build
continue-on-error: true
uses: ros-tooling/[email protected]
with:
package-name: ${{ steps.list_packages.outputs.package_list }}
target-ros2-distro: ${{ matrix.ros_distribution }}
vcs-repo-file-url: ros2_rust_${{ matrix.ros_distribution }}.repos

# We need specific versions of some dependencies to be compatible with v1.75
# of the compiler, but we can't specify those versions until after action-ros-ci
# has run and failed.
- name: Patch Dependencies and Rebuild
run: |
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
cd $(colcon list | awk '$1 == "rclrs" { print $2 }')
cargo add home@=0.5.9
cd -
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh
colcon build

- name: Run clippy on Rust packages
run: |
cd ${{ steps.build.outputs.ros-workspace-directory-name }}
Expand Down
Loading