remove geographiclib_conversions submodule #370
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: catkin_build | |
on: [push] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
catkin_build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 8 | |
container: | |
image: ros:noetic | |
steps: | |
# 1. Install basic requirements | |
- run: apt-get update && apt-get install -y git | |
- run: if [[ "$ROS_DISTRO" = "noetic" ]] ; then apt-get install -y python3-pip ros-noetic-catkin python3-catkin-tools ; fi | |
- run: pip install setuptools==68.0.0 importlib-metadata==8.2.0 # hack because there is an issue on >=71.0.0 https://github.com/pypa/setuptools/issues/4478 | |
# 2. Checkout repo with submodules | |
- uses: actions/checkout@v2 | |
with: | |
path: catkin_ws/src/innopolis_vtol_dynamics | |
submodules: recursive | |
# 3. Install requirements | |
- name: Install innopolis_vtol_dynamics requirements | |
run: ./catkin_ws/src/innopolis_vtol_dynamics/uav_dynamics/uav_hitl_dynamics/install_requirements.sh | |
- name: Install uavcan_communicator requirements | |
run: | | |
cd catkin_ws/src/innopolis_vtol_dynamics/communicators/uavcan_communicator && \ | |
./scripts/install_requirements.sh && \ | |
./scripts/install_libuavcan.sh | |
- name: Install cyphal_communicator requirements | |
run: ./catkin_ws/src/innopolis_vtol_dynamics/communicators/cyphal_communicator/install_requirements.sh | |
- name: Install inno-sim-interface requirements | |
run: | | |
sudo apt-get install -y ros-noetic-rosauth && \ | |
sudo apt-get install -y python-protobuf && \ | |
pip install bson pymongo Pillow twisted | |
# 4. Build | |
- name: catkin build | |
run: | | |
source /opt/ros/noetic/setup.bash && \ | |
cd catkin_ws && \ | |
catkin build |