-
Notifications
You must be signed in to change notification settings - Fork 16
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
d638965
commit 0b189f3
Showing
4 changed files
with
62 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: ROS 1 Workflow | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
build_2004: | ||
name: "ROS1 Ubuntu 20.04" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Code Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create Workspace and Docker Image | ||
run: | | ||
export REPO=$(basename $GITHUB_REPOSITORY) && | ||
cd $GITHUB_WORKSPACE/.. && mkdir src/ && | ||
cd src/ | ||
&& git clone https://github.com/rpng/open_vins.git | ||
&& git clone https://github.com/ethz-asl/maplab.git --recursive | ||
&& cd .. && | ||
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ && | ||
docker build -t ov_plane -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 . | ||
- name: Run Build in Docker | ||
run: | | ||
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws ov_plane /bin/bash -c | ||
"cd /catkin_ws | ||
&& catkin init | ||
&& catkin config --merge-devel | ||
&& catkin config --extend /opt/ros/noetic | ||
&& catkin build ov_maplab" | ||
- name: Run Simulation! | ||
run: | | ||
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws ov_plane /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_plane simulation.launch verbosity:=WARNING" | ||
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