Skip to content

Use TF2 package for quaternion conversion (backport #1031) (#1041) #923

Use TF2 package for quaternion conversion (backport #1031) (#1041)

Use TF2 package for quaternion conversion (backport #1031) (#1041) #923

name: Basic Build Workflow
on:
push:
branches: [jazzy]
pull_request:
types: [opened, reopened, synchronize]
jobs:
build-jazzy:
runs-on: ubuntu-latest
strategy:
fail-fast: false
container:
image: ros:jazzy-ros-core
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Create Workspace
run: |
mkdir src_tmp
mv `find -maxdepth 1 -not -name . -not -name src_tmp` src_tmp/
mv src_tmp/ src/
- name: Install Prerequisites
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
apt-get update && apt-get upgrade -y && apt-get install ros-dev-tools -y && rosdep init && rosdep update; \
rosdep install --from-paths src --ignore-src -y'
- name: Build Workspace
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
colcon build'
- name: Run Tests
run: |
bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
colcon test; \
colcon test-result --verbose'