-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8780065
commit cd79902
Showing
23 changed files
with
232 additions
and
231 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,41 @@ | ||
name: "Shared Build Steps" | ||
runs: | ||
using: "composite" | ||
# Note: working directory will be reset to the repo root for each new step | ||
steps: | ||
# Build and install all dependencies to RDK installation directory. | ||
- name: Build and install dependencies | ||
shell: bash | ||
run: | | ||
pwd | ||
cd thirdparty | ||
bash build_and_install_dependencies.sh ~/rdk_install 4 | ||
# Configure CMake, then build and install flexiv_rdk library to RDK installation directory. | ||
- name: Build and install library | ||
shell: bash | ||
run: | | ||
pwd | ||
mkdir -p build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~/rdk_install | ||
cmake --build . --target install --config Release | ||
# Find and link to flexiv_rdk library, then build all example programs. | ||
- name: Build examples | ||
shell: bash | ||
run: | | ||
pwd | ||
cd example | ||
mkdir -p build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~/rdk_install | ||
cmake --build . --config Release -j 4 | ||
# Find and link to flexiv_rdk library, then build all test programs. | ||
- name: Build tests | ||
shell: bash | ||
run: | | ||
pwd | ||
cd test | ||
mkdir -p build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~/rdk_install | ||
cmake --build . --config Release -j 4 |
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
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ find_dependency(Threads REQUIRED) | |
find_dependency(Eigen3 REQUIRED) | ||
find_dependency(spdlog REQUIRED) | ||
find_dependency(fastrtps 2.6.7 REQUIRED) | ||
find_dependency(fastcdr 1.0.24 REQUIRED) | ||
|
||
# Add targets file | ||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") |
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
Oops, something went wrong.