Merge branch 'noetic' of github.com:rolker/project11 into noetic #39
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: docker-noetic-ros-base | |
on: | |
push: | |
branches: [ noetic ] | |
pull_request: | |
branches: [ noetic ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ros:noetic-ros-base | |
steps: | |
- name: Update apt | |
run: apt update | |
- name: Install git and vcstool | |
run: DEBIAN_FRONTEND=noninteractive apt -y install git python3-vcstool | |
- name: Checkout Project11 | |
uses: actions/checkout@v3 | |
- name: Update rosdep | |
run: rosdep update | |
- name: Create workspace | |
run: mkdir -p ../catkin_ws/src | |
- name: Install repos | |
run: vcs import --input config/repos/simulator.repos ../catkin_ws/src/ | |
- name: Install ROS dependencies | |
working-directory: ../catkin_ws/ | |
run: DEBIAN_FRONTEND=noninteractive rosdep install --from-paths src --ignore-src -r -y | |
- name: Catkin_make | |
working-directory: ../catkin_ws/ | |
run: bash -c 'source /opt/ros/noetic/setup.bash && catkin_make' |