Merge branch 'rpng:master' into master #5
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
name: ROS 1 Workflow | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build_1604: | |
name: "ROS1 Ubuntu 16.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/ && | |
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ && | |
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_16_04 . | |
- name: Echo Enviroment | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION" | |
- name: Run Build in Docker | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build" | |
- name: Run OpenVINS Simulation! | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING" | |
build_1804: | |
name: "ROS1 Ubuntu 18.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/ && | |
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ && | |
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_18_04 . | |
- name: Echo Enviroment | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION" | |
- name: Run Build in Docker | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build" | |
- name: Run OpenVINS Simulation! | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING" | |
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/ && | |
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/ && | |
docker build -t openvins -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 . | |
- name: Echo Enviroment | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "echo $ROS_DISTRO && echo $ROS_VERSION" | |
- name: Run Build in Docker | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && catkin build" | |
- name: Run OpenVINS Simulation! | |
run: | | |
docker run -t --mount type=bind,source=$GITHUB_WORKSPACE,target=/catkin_ws openvins /bin/bash -c "cd /catkin_ws && source devel/setup.bash && roslaunch ov_msckf simulation.launch verbosity:=WARNING" |