From f61bc6a099df9cb188e5caeffd7d3f0ee58d60e4 Mon Sep 17 00:00:00 2001 From: Kenji Brameld Date: Sat, 27 Apr 2024 19:48:54 -0500 Subject: [PATCH] add jazzy CI (#29) Signed-off-by: ijnek --- .github/workflows/build_and_test_jazzy.yaml | 27 +++++++++++++++++++ .github/workflows/build_and_test_rolling.yaml | 6 ++--- README.md | 3 ++- 3 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/build_and_test_jazzy.yaml diff --git a/.github/workflows/build_and_test_jazzy.yaml b/.github/workflows/build_and_test_jazzy.yaml new file mode 100644 index 0000000..b99666a --- /dev/null +++ b/.github/workflows/build_and_test_jazzy.yaml @@ -0,0 +1,27 @@ +name: Build and Test (jazzy) + +on: + # Triggers the workflow on push + push: + branches: [ jazzy ] + + # Triggers the workflow on pull requests + pull_request: + branches: [ jazzy ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:noble + + steps: + - uses: ros-tooling/setup-ros@v0.7 + with: + use-ros2-testing: true + - uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: jazzy diff --git a/.github/workflows/build_and_test_rolling.yaml b/.github/workflows/build_and_test_rolling.yaml index 23fa844..57f0fb8 100644 --- a/.github/workflows/build_and_test_rolling.yaml +++ b/.github/workflows/build_and_test_rolling.yaml @@ -3,11 +3,11 @@ name: Build and Test (rolling) on: # Triggers the workflow on push push: - branches: [ ros2 ] + branches: [ rolling ] # Triggers the workflow on pull requests pull_request: - branches: [ ros2 ] + branches: [ rolling ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -16,7 +16,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: ubuntu:jammy + image: ubuntu:noble steps: - uses: ros-tooling/setup-ros@v0.7 diff --git a/README.md b/README.md index 3df3ec5..31ded52 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ [![Build and Test (humble)](../../actions/workflows/build_and_test_humble.yaml/badge.svg?branch=humble)](../../actions/workflows/build_and_test_humble.yaml?query=branch:humble) [![Build and Test (iron)](../../actions/workflows/build_and_test_iron.yaml/badge.svg?branch=iron)](../../actions/workflows/build_and_test_iron.yaml?query=branch:iron) -[![Build and Test (rolling)](../../actions/workflows/build_and_test_rolling.yaml/badge.svg?branch=ros2)](../../actions/workflows/build_and_test_rolling.yaml?query=branch:ros2) +[![Build and Test (jazzy)](../../actions/workflows/build_and_test_jazzy.yaml/badge.svg?branch=jazzy)](../../actions/workflows/build_and_test_jazzy.yaml?query=branch:jazzy) +[![Build and Test (rolling)](../../actions/workflows/build_and_test_rolling.yaml/badge.svg?branch=rolling)](../../actions/workflows/build_and_test_rolling.yaml?query=branch:rolling) Basic ROS2 wrapper for the zbar (http://zbar.sourceforge.net/) barcode reader library. Reads image stream from `image` topic, and outputs detected barcodes to `barcode` topic. Works with 1D and 2D barcodes.