-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github action for building r2r_minimal_node with colcon.
- Loading branch information
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Use the local version of r2r when building the minimal node. | ||
cat >> /r2r/r2r_minimal_node/r2r_minimal_node/Cargo.toml << EOF | ||
[patch.crates-io] | ||
r2r = { path = "../../r2r" } | ||
[workspace] | ||
EOF | ||
|
||
# Overwrite r2r_cargo to make sure the version in the r2r repo is ok. | ||
cp /r2r/r2r_cargo.cmake /r2r/r2r_minimal_node/r2r_minimal_node/ | ||
|
||
# Build using colcon. | ||
cd /r2r/r2r_minimal_node | ||
colcon build |