Skip to content

Add CI Workflow for Build #3

Add CI Workflow for Build

Add CI Workflow for Build #3

Workflow file for this run

name: Build MultiSense ROS 2
on:
push:
branches:
- master
release:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref_name }}-${{ matrix.ros_distro }}-build
cancel-in-progress: ${{ github.ref_name != 'main' }}
strategy:
fail-fast: false
matrix:
ros_distro:
- jazzy
- iron
- humble
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: docker/setup-buildx-action@v3
- name: Build Docker Image
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
push: false
build-args: |
ros_codename=${{ matrix.ros_distro }}