From 5698038398bd8ea53bcc1259f72fd8fb1e681ac0 Mon Sep 17 00:00:00 2001 From: Filip Niksic Date: Tue, 29 Oct 2024 15:20:12 -0400 Subject: [PATCH] Add fuzztest@20241028.0 to the registry (#3031) --- modules/fuzztest/20241028.0/MODULE.bazel | 72 +++++++++++++++++++++++ modules/fuzztest/20241028.0/presubmit.yml | 21 +++++++ modules/fuzztest/20241028.0/source.json | 5 ++ modules/fuzztest/metadata.json | 3 +- 4 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 modules/fuzztest/20241028.0/MODULE.bazel create mode 100644 modules/fuzztest/20241028.0/presubmit.yml create mode 100644 modules/fuzztest/20241028.0/source.json diff --git a/modules/fuzztest/20241028.0/MODULE.bazel b/modules/fuzztest/20241028.0/MODULE.bazel new file mode 100644 index 00000000000..1ef37d95362 --- /dev/null +++ b/modules/fuzztest/20241028.0/MODULE.bazel @@ -0,0 +1,72 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module( + name = "fuzztest", + version = "20241028.0", + repo_name = "com_google_fuzztest", +) + +bazel_dep( + name = "abseil-cpp", + version = "20240116.1", + repo_name = "com_google_absl", +) +bazel_dep( + name = "re2", + version = "2024-04-01", + repo_name = "com_googlesource_code_re2", +) +bazel_dep( + name = "bazel_skylib", + version = "1.7.1", +) +bazel_dep( + name = "platforms", + version = "0.0.10", + repo_name = "platforms", +) +bazel_dep( + name = "googletest", + version = "1.14.0.bcr.1", + repo_name = "com_google_googletest", +) +bazel_dep( + name = "protobuf", + version = "28.2", + repo_name = "com_google_protobuf", +) +bazel_dep( + name = "rules_proto", + version = "5.3.0-21.7", +) +bazel_dep( + name = "riegeli", + version = "0.0.0-20240606-973b6f0", + repo_name = "com_google_riegeli", +) + +# Dev dependencies. +bazel_dep( + name = "nlohmann_json", + version = "3.11.3", + dev_dependency = True, + repo_name = "com_nlohmann_json", +) +bazel_dep( + name = "antlr4-cpp-runtime", + version = "4.12.0", + dev_dependency = True, + repo_name = "antlr_cpp", +) diff --git a/modules/fuzztest/20241028.0/presubmit.yml b/modules/fuzztest/20241028.0/presubmit.yml new file mode 100644 index 00000000000..c7762d6840c --- /dev/null +++ b/modules/fuzztest/20241028.0/presubmit.yml @@ -0,0 +1,21 @@ +matrix: + platform: + - ubuntu2004 + bazel: + - 7.x + - 6.x +tasks: + verify_unix_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_flags: + - --action_env=CC=clang + - --action_env=CXX=clang++ + - --host_cxxopt=-std=c++17 + - --cxxopt=-std=c++17 + - --cxxopt=-Wno-c++20-extensions + build_targets: + - '@fuzztest//fuzztest:fuzztest' + - '@fuzztest//fuzztest:fuzztest_gtest_main' + - '@fuzztest//centipede:centipede' diff --git a/modules/fuzztest/20241028.0/source.json b/modules/fuzztest/20241028.0/source.json new file mode 100644 index 00000000000..24961db78da --- /dev/null +++ b/modules/fuzztest/20241028.0/source.json @@ -0,0 +1,5 @@ +{ + "url": "https://github.com/google/fuzztest/releases/download/2024-10-28/fuzztest-2024-10-28.tar.gz", + "integrity": "sha256-51rch/xxQXzFVhxoyWSNkQErYZIv3ZdgHO3LNVgBT30=", + "strip_prefix": "fuzztest-2024-10-28" +} diff --git a/modules/fuzztest/metadata.json b/modules/fuzztest/metadata.json index d3afccf074e..26e841623e5 100644 --- a/modules/fuzztest/metadata.json +++ b/modules/fuzztest/metadata.json @@ -11,7 +11,8 @@ "github:google/fuzztest" ], "versions": [ - "20240813.0" + "20240813.0", + "20241028.0" ], "yanked_versions": {} }