diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..92982a4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +# 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