From e5c6f41c28e47b7cc98dc276a45d8b40c4ba264a 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 | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 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..9119921 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,48 @@ +# 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 + +jobs: + 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 + +jobs: + 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