Skip to content

Ubuntu [Focal, Jammy, Noble] #551

Ubuntu [Focal, Jammy, Noble]

Ubuntu [Focal, Jammy, Noble] #551

Workflow file for this run

name: Ubuntu [Focal, Jammy, Noble]
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
release:
types:
- released
jobs:
ci:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: [focal, jammy, noble]
container:
image: ubuntu:${{ matrix.distro }}
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@v9
with:
before-script:
ccache-prefix: ${{ matrix.distro }}
add-ros-ppa: true
vcs-file: dependencies.repos
upstream-args: --cmake-args -DCMAKE_BUILD_TYPE=Release
target-path: target_ws/src
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=ON -DENABLE_RUN_TESTING=OFF
- name: Python Tests
working-directory: target_ws/src
shell: bash
run: |
source ../install/setup.bash
python3 -m pytest -v