Skip to content

Commit

Permalink
Update CI for jazzy branch (#357)
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund authored Dec 23, 2024
1 parent 65e0cab commit 52c681a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build
on:
pull_request:
push:
branches: [ rolling ]
branches: [ jazzy ]
workflow_dispatch:
schedule:
# Run every morning to detect flakiness and broken dependencies
Expand All @@ -17,9 +17,6 @@ jobs:
fail-fast: false
matrix:
include:
# Rolling (source)
- ROS_DISTRO: rolling
BUILD_TYPE: source
# Jazzy (binary)
- ROS_DISTRO: jazzy
BUILD_TYPE: binary
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: style
on:
pull_request:
push:
branches: [ rolling ]
branches: [ jazzy ]
defaults:
run:
shell: bash
Expand All @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: ['jazzy', 'rolling']
distro: ['jazzy']
container:
image: ros:${{ matrix.distro }}-ros-base
timeout-minutes: 30
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ A ROS 2 RMW implementation based on Zenoh that is written using the zenoh-c bind
For information about the Design please visit [design](docs/design.md) page.

## Requirements
- [ROS 2](https://docs.ros.org): Rolling/Jazzy/Iron
- [ROS 2](https://docs.ros.org)

> Note: See available distro branches, eg. `jazzy`, for supported ROS 2 distributions.
## Setup

Expand All @@ -22,11 +23,12 @@ The `ZENOHC_CARGO_FLAGS` CMake argument may be overwritten with other features i
See [zenoh_cpp_vendor/CMakeLists.txt](./zenoh_cpp_vendor/CMakeLists.txt) for more details.

```bash
# replace <DISTRO> with ROS 2 distro of choice
mkdir ~/ws_rmw_zenoh/src -p && cd ~/ws_rmw_zenoh/src
git clone https://github.com/ros2/rmw_zenoh.git
git clone https://github.com/ros2/rmw_zenoh.git -b <DISTRO>
cd ~/ws_rmw_zenoh
rosdep install --from-paths src --ignore-src --rosdistro <DISTRO> -y # replace <DISTRO> with ROS 2 distro of choice
source /opt/ros/<DISTRO>/setup.bash # replace <DISTRO> with ROS 2 distro of choice
rosdep install --from-paths src --ignore-src --rosdistro <DISTRO> -y
source /opt/ros/<DISTRO>/setup.bash
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
```

Expand Down

0 comments on commit 52c681a

Please sign in to comment.