clean up vtol dynamics #102
Workflow file for this run
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: tests | |
on: [push] | |
env: | |
ROS_DISTRO: noetic | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 8 | |
container: | |
image: ros:noetic | |
steps: | |
- run: apt-get update && apt-get install -y git | |
- run: if [[ "$ROS_DISTRO" = "melodic" ]] ; then apt-get install -y python-catkin-tools python-pip python3-pip python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential python-catkin-tools ; fi | |
- run: if [[ "$ROS_DISTRO" = "noetic" ]] ; then apt-get install -y python3-pip ros-noetic-catkin python3-catkin-tools ; fi | |
- uses: actions/checkout@v2 | |
with: | |
path: catkin_ws/src/uav_hitl_dynamics | |
- name: Install requirements | |
run: | | |
./catkin_ws/src/uav_hitl_dynamics/install_requirements.sh | |
sudo apt-get install psmisc | |
- name: Install dependencies | |
run: | | |
git clone https://github.com/RaccoonlabDev/geographiclib_conversions.git catkin_ws/src/geographiclib_conversions | |
./catkin_ws/src/geographiclib_conversions/scripts/install.sh | |
- name: Build | |
run: | | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
cd catkin_ws | |
catkin build | |
- name: Tests | |
run: | | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
source catkin_ws/devel/setup.bash | |
cd catkin_ws/src/uav_hitl_dynamics/ | |
source catkin_test.sh |