add github workflows to build test. #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
rolling-docker: | |
runs-on: ubuntu-latest | |
container: | |
image: ros:rolling | |
steps: | |
- name: test | |
shell: bash | |
run: | | |
source /opt/ros/rolling/setup.bash | |
ros2 topic list | |
iron-docker: | |
runs-on: ubuntu-latest | |
container: | |
image: ros:iron | |
steps: | |
- name: test | |
shell: bash | |
run: | | |
source /opt/ros/iron/setup.bash | |
ros2 service list | |
humble-docker: | |
runs-on: ubuntu-latest | |
container: | |
image: ros:humble | |
steps: | |
- name: test | |
shell: bash | |
run: | | |
source /opt/ros/humble/setup.bash | |
ros2 node list |