Skip to content

Updated CI to be based on tesseract_planning CI docker image #113

Updated CI to be based on tesseract_planning CI docker image

Updated CI to be based on tesseract_planning CI docker image #113

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- master
pull_request:
paths:
- 'tesseract**'
- '.github/workflows/ubuntu.yml'
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
release:
types:
- released
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- os: focal
distro: foxy
- os: jammy
distro: humble
- os: jammy
distro: rolling
container:
image: ghcr.io/tesseract-robotics/tesseract_qt:${{ matrix.os }}-0.21
env:
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
DEBIAN_FRONTEND: noninteractive
TZ: Etc/UTC
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: target_ws/src
- name: Build and Tests
uses: tesseract-robotics/colcon-action@v2
with:
before-script: source /opt/tesseract_qt/install/setup.bash
ccache-prefix: ${{ matrix.distro }}
target-path: target_ws/src
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DTESSERACT_ENABLE_TESTING=ON