Skip to content

add github workflows to build test. #8

add github workflows to build test.

add github workflows to build test. #8

Workflow file for this run

# This is workflow to build parameter server in ros docker images
name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# each job goes for each ros supported distribution.
# each job description absorb the distribution dependency as much as possible,
# so that build verification script can be agnostic from distribution dependency.
rolling-build:
runs-on: ubuntu-latest
container:
image: ros:rolling
env:
ROS_DISTRO: rolling
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS rolling
shell: bash
run: |
./scripts/build-verification.sh
iron-build:
runs-on: ubuntu-latest
container:
image: ros:iron
env:
ROS_DISTRO: iron
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS iron
shell: bash
run: |
./scripts/build-verification.sh
humble-build:
runs-on: ubuntu-latest
container:
image: ros:humble
env:
ROS_DISTRO: humble
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build with ROS humble
shell: bash
run: |
./scripts/build-verification.sh