fix logging #361
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: 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 | |
# 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 geographiclib_conversions requirements | |
run: ./catkin_ws/src/innopolis_vtol_dynamics/uav_dynamics/geographiclib_conversions/scripts/install.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 |