From 11caaf0455937f3ab58285d1b431f5cfb7f6f853 Mon Sep 17 00:00:00 2001 From: daohu527 Date: Mon, 1 Jul 2024 10:46:04 +0800 Subject: [PATCH] feat: add wheelos_common_msgs library wheelos_common_msgs defines the messages for autonomous driving --- .../wheelos_common_msgs/0.1.2/MODULE.bazel | 11 ++++++++ .../wheelos_common_msgs/0.1.2/presubmit.yml | 27 +++++++++++++++++++ modules/wheelos_common_msgs/0.1.2/source.json | 5 ++++ modules/wheelos_common_msgs/metadata.json | 17 ++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 modules/wheelos_common_msgs/0.1.2/MODULE.bazel create mode 100644 modules/wheelos_common_msgs/0.1.2/presubmit.yml create mode 100644 modules/wheelos_common_msgs/0.1.2/source.json create mode 100644 modules/wheelos_common_msgs/metadata.json diff --git a/modules/wheelos_common_msgs/0.1.2/MODULE.bazel b/modules/wheelos_common_msgs/0.1.2/MODULE.bazel new file mode 100644 index 00000000000..53a3362725c --- /dev/null +++ b/modules/wheelos_common_msgs/0.1.2/MODULE.bazel @@ -0,0 +1,11 @@ +module( + name = "wheelos_common_msgs", + version = "0.1.2", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "rules_pkg", version = "0.10.1") +bazel_dep(name = "rules_proto", version = "6.0.0") +bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf") diff --git a/modules/wheelos_common_msgs/0.1.2/presubmit.yml b/modules/wheelos_common_msgs/0.1.2/presubmit.yml new file mode 100644 index 00000000000..5755613afb8 --- /dev/null +++ b/modules/wheelos_common_msgs/0.1.2/presubmit.yml @@ -0,0 +1,27 @@ +matrix: + platform: + - ubuntu2204 + - ubuntu2004 + - windows + bazel: [6.x, 7.x] + +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@wheelos_common_msgs//common_msgs/basic_msgs:all' + - '@wheelos_common_msgs//common_msgs/chassis_msgs:all' + - '@wheelos_common_msgs//common_msgs/config_msgs:all' + - '@wheelos_common_msgs//common_msgs/sensor_msgs:all' + + verify_targets_macos: + name: Verify build targets on MacOS + platform: macos_arm64 + bazel: "7.x" + build_targets: + - '@wheelos_common_msgs//common_msgs/basic_msgs:all' + - '@wheelos_common_msgs//common_msgs/chassis_msgs:all' + - '@wheelos_common_msgs//common_msgs/config_msgs:all' + - '@wheelos_common_msgs//common_msgs/sensor_msgs:all' diff --git a/modules/wheelos_common_msgs/0.1.2/source.json b/modules/wheelos_common_msgs/0.1.2/source.json new file mode 100644 index 00000000000..71887f0fe11 --- /dev/null +++ b/modules/wheelos_common_msgs/0.1.2/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-FbtvVwDzulg3NcLrjcI3FaRnQs+BDDZtwQXA2yUkLxA=", + "strip_prefix": "common_msgs-0.1.2", + "url": "https://github.com/wheelos/common_msgs/releases/download/0.1.2/common_msgs-0.1.2.zip" +} diff --git a/modules/wheelos_common_msgs/metadata.json b/modules/wheelos_common_msgs/metadata.json new file mode 100644 index 00000000000..6016da9319f --- /dev/null +++ b/modules/wheelos_common_msgs/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/wheelos/common_msgs", + "maintainers": [ + { + "email": "daohu527@google.com", + "github": "daohu527", + "name": "daohu527" + } + ], + "repository": [ + "github:wheelos/common_msgs" + ], + "versions": [ + "0.1.2" + ], + "yanked_versions": {} +}