Skip to content

Use humble/jazzy for CI #19

Use humble/jazzy for CI

Use humble/jazzy for CI #19

Workflow file for this run

# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
name: Build and Test (galactic)
# This determines when this workflow is run
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
industrial_ci:
strategy:
fail-fast: false
matrix:
env:
- CI_NAME: clang-format
CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: 10
- CI_NAME: build-and-test
- CI_NAME: clang-tidy
CLANG_TIDY: true
- rosdistro: [humble, jazzy]
env:
CCACHE_DIR: /github/home/.ccache
CXXFLAGS: "-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"
ROS_DISTRO: ${{ matrix.rosdistro }}
ROS_REPO: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-{{ matrix.env.ROS_DISTRO }}-{{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}