-
Notifications
You must be signed in to change notification settings - Fork 1
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
33485f9
commit 787883c
Showing
8 changed files
with
64 additions
and
60 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,31 @@ | ||
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 TDK installation directory. | ||
- name: Build and install dependencies | ||
shell: bash | ||
run: | | ||
pwd | ||
cd thirdparty | ||
bash build_and_install_dependencies.sh ~/tdk_install 4 | ||
# Configure CMake, then build and install flexiv_tdk library to TDK installation directory. | ||
- name: Build and install library | ||
shell: bash | ||
run: | | ||
pwd | ||
mkdir -p build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~/tdk_install | ||
cmake --build . --target install --config Release | ||
# Find and link to flexiv_tdk library, then build all example programs. | ||
- name: Build examples | ||
shell: bash | ||
run: | | ||
pwd | ||
cd example | ||
mkdir -p build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~/tdk_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
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
Binary file not shown.