Skip to content

Commit

Permalink
t# This is a combination of 2 commits.
Browse files Browse the repository at this point in the history
run cargo fmt and clippy in github action
  • Loading branch information
lucasw committed Sep 29, 2024
1 parent efd7571 commit e90dfce
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ubuntu_22_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,24 @@ jobs:
sudo apt install -yqq libros-rosgraph-msgs-dev python3-rosgraph-msgs ros-rosgraph-msgs
sudo apt install -yqq librust-openssl-dev
rospack find geometry_msgs
echo "ROS_PACKAGE_PATH=`rospack find actionlib_msgs`:`rospack find std_msgs`:`rospack find sensor_msgs`:`rospack find geometry_msgs`:`rospack find rosgraph_msgs`:`rospack find std_srvs`:`rospack find tf2_msgs`" > $GITHUB_ENV
- run: echo $ROS_PACKAGE_PATH

- run: echo "PATH=$PATH:$HOME/.cargo/bin" >> $GITHUB_ENV

- run: |
cd mcap_tools/mcap_tools
cargo fmt --check
- run: |
cd mcap_tools/mcap_tools
cargo clippy
- name:
run: |
# TODO(lucasw) build docs, and run tests
cd mcap_tools/mcap_tools
ROS_PACKAGE_PATH=`rospack find actionlib_msgs`:`rospack find std_msgs`:`rospack find sensor_msgs`:`rospack find geometry_msgs`:`rospack find rosgraph_msgs`:`rospack find std_srvs`:`rospack find tf2_msgs` cargo build --release
target/release/mcap_record --version
target/release/mcap_record --help
cargo install --path .
mcap_record --version
mcap_record --help

0 comments on commit e90dfce

Please sign in to comment.