Skip to content

src/phidget_drivetrain: drivetrain phidget to ros #21

src/phidget_drivetrain: drivetrain phidget to ros

src/phidget_drivetrain: drivetrain phidget to ros #21

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
container:
image: uvicrobotics/uvicrover: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