From df3952a16a0bfdfa5ae03770785819012343ce85 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Sat, 2 Sep 2023 09:52:23 -0700 Subject: [PATCH] add github workflows template. Signed-off-by: Tomoya Fujita --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/build.yml 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