-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
1 changed file
with
29 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,38 @@ | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
name: Build | ||
on: [push] | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
- name: Install ROS Tooling | ||
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: iron | ||
- uses: ros-tooling/[email protected] | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Pangolin | ||
run: | | ||
mkdir thirdparty && cd thirdparty | ||
git clone --recursive https://github.com/stevenlovegrove/Pangolin.git --depth 1 | ||
cd Pangolin | ||
yes | ./scripts/install_prerequisites.sh required | ||
cmake -B build | ||
cmake --build build -j 4 | ||
cmake --install build | ||
- name: Install cv_bridge | ||
run: | | ||
apt install -y ros-iron-cv-bridge | ||
- name: Install interactive_markers | ||
run: | | ||
apt install -y ros-iron-interactive-markers | ||
- name: Build Project | ||
uses: ros-tooling/[email protected] | ||
with: | ||
package-name: orb_slam3_ros | ||
target-ros2-distro: iron |