Use Ansible for DevOps #1861
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: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
container: | |
image: umrover1/ros:latest | |
options: --user root | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: "true" | |
path: "src" | |
- name: Initialize catkin workspace | |
run: . /opt/ros/noetic/setup.sh && catkin init | |
- name: Build | |
run: . /opt/ros/noetic/setup.sh && catkin build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_CLANG_TIDY=clang-tidy-12 | |
- name: Python requirements | |
run: pip3 install -r $GITHUB_WORKSPACE/src/requirements.txt | |
- name: Test | |
run: . /opt/ros/noetic/setup.sh && . $GITHUB_WORKSPACE/devel/setup.sh && catkin test -j1 |