-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ChenYing Kuo <[email protected]>
- Loading branch information
Showing
6 changed files
with
203 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,45 +63,45 @@ jobs: | |
- name: Run tests | ||
run: cargo test --verbose | ||
|
||
# system_tests_with_ros2_humble: | ||
# name: System tests with ROS 2 Humble | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | ||
# steps: | ||
# - uses: ros-tooling/[email protected] | ||
# with: | ||
# required-ros-distributions: humble | ||
|
||
# - uses: actions/checkout@v4 | ||
# - uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
# - name: Install ACL | ||
# run: sudo apt-get -y install libacl1-dev | ||
|
||
# - name: Run ROS tests (enable feature ros_test) | ||
# shell: bash | ||
# run: "source /opt/ros/humble/setup.bash && cargo test --features ros_test --verbose" | ||
|
||
# system_tests_with_ros2_jazzy: | ||
# name: System tests with ROS 2 Jazzy | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest | ||
# steps: | ||
# - uses: ros-tooling/[email protected] | ||
# with: | ||
# required-ros-distributions: jazzy | ||
|
||
# - uses: actions/checkout@v4 | ||
# - uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
# - name: Install ACL | ||
# run: sudo apt-get -y install libacl1-dev | ||
|
||
# - name: Run ROS tests (enable feature ros_test) | ||
# shell: bash | ||
# run: "source /opt/ros/jazzy/setup.bash && cargo test --features ros_test --verbose" | ||
system_tests_with_ros2_humble: | ||
name: System tests with ROS 2 Humble | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: humble | ||
|
||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
- name: Install ACL | ||
run: sudo apt-get -y install libacl1-dev | ||
|
||
- name: Run ROS tests | ||
shell: bash | ||
run: "source /opt/ros/humble/setup.bash && cd zenoh-test-ros2dds && cargo test --verbose" | ||
|
||
system_tests_with_ros2_jazzy: | ||
name: System tests with ROS 2 Jazzy | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: jazzy | ||
|
||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
- name: Install ACL | ||
run: sudo apt-get -y install libacl1-dev | ||
|
||
- name: Run ROS tests | ||
shell: bash | ||
run: "source /opt/ros/jazzy/setup.bash && cd zenoh-test-ros2dds && cargo test --verbose" | ||
|
||
# NOTE: In GitHub repository settings, the "Require status checks to pass | ||
# before merging" branch protection rule ensures that commits are only merged | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright (c) 2024 ZettaScale Technology | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Eclipse Public License 2.0 which is available at | ||
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 | ||
# which is available at https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 | ||
# | ||
# Contributors: | ||
# ZettaScale Zenoh Team, <[email protected]> | ||
# | ||
[package] | ||
name = "zenoh-test-ros2dds" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
cdr = "0.2.4" | ||
futures = "0.3.26" | ||
r2r = "0.9" | ||
serde = "1.0.154" | ||
serde_json = "1.0.114" | ||
tokio = { version = "1.35.1", default-features = false } # Default features are disabled due to some crates' requirements | ||
zenoh = { version = "1.0.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = [ | ||
"plugins", | ||
"unstable", | ||
] } | ||
zenoh-config = { version = "1.0.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", default-features = false } | ||
zenoh-plugin-ros2dds = { version = "1.0.0-dev", path = "../zenoh-plugin-ros2dds/", default-features = false } | ||
|
||
# We need an empty workspace to avoid being viewed as a part of zenoh-plugin-ros2dds | ||
[workspace] |
Oops, something went wrong.