Skip to content

Ubuntu-Focal

Ubuntu-Focal #380

Workflow file for this run

name: Ubuntu-Focal
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 5 * * *'
jobs:
ci:
name: Ubuntu-Focal
runs-on: ubuntu-latest
container: ubuntu:focal
steps:
- name: Checkout repository
uses: actions/checkout@master
with:
path: src/descartes_light
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
apt update -q
apt install -q -y clang-tidy python3 python3-pip git
pip3 install -q --upgrade pip
pip3 install -q colcon-common-extensions rosdep vcstool
rosdep init -q
rosdep update -q
vcs import src < src/descartes_light/dependencies.rosinstall
rosdep install --from-paths src --ignore-src -r -y -q
- name: Build
run: |
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_BUILD_TYPE=Debug -DDESCARTES_ENABLE_TESTING=ON -DDESCARTES_ENABLE_CLANG_TIDY=ON
if [ $? -ne 0 ]; then exit 1; fi
- name: Test
run: |
colcon test --event-handlers console_direct+
if [ $? -ne 0 ]; then exit 1; fi
colcon test-result --verbose
if [ $? -ne 0 ]; then exit 1; fi