Skip to content

Commit 5cc0608

Browse files
authored
Install cargo-ament-build with --debug (#128)
This is faster than the release build. Also print the current path in check steps.
1 parent 29d4177 commit 5cc0608

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Install cargo-ament-build
6868
run: |
69-
cargo install cargo-ament-build
69+
cargo install --debug cargo-ament-build
7070
7171
- name: Build and test
7272
id: build
@@ -82,7 +82,7 @@ jobs:
8282
. /opt/ros/${{ matrix.ros_distro }}/setup.sh
8383
for path in $(colcon list | awk '$3 == "(ament_cargo)" { print $2 }'); do
8484
cd $path
85-
echo "Checking $path"
85+
echo "Running clippy in $path"
8686
cargo clippy -- -D warnings
8787
cd -
8888
done
@@ -93,6 +93,7 @@ jobs:
9393
. /opt/ros/${{ matrix.ros_distro }}/setup.sh
9494
for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "rclrs_examples" { print $2 }'); do
9595
cd $path
96+
echo "Running rustdoc check in $path"
9697
cargo rustdoc -- -D warnings
9798
cd -
9899
done

0 commit comments

Comments
 (0)