diff --git a/modules/catch2/3.5.2/MODULE.bazel b/modules/catch2/3.5.2/MODULE.bazel new file mode 100644 index 00000000000..95c19dd4f97 --- /dev/null +++ b/modules/catch2/3.5.2/MODULE.bazel @@ -0,0 +1,7 @@ +module( + name = "catch2", + version = "3.5.2", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.5.0") diff --git a/modules/catch2/3.5.2/patches/module_dot_bazel.patch b/modules/catch2/3.5.2/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..40e12f2243c --- /dev/null +++ b/modules/catch2/3.5.2/patches/module_dot_bazel.patch @@ -0,0 +1,11 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,3 +1,7 @@ +-module(name = "catch2") ++module( ++ name = "catch2", ++ version = "3.5.2", ++ compatibility_level = 1, ++) + + bazel_dep(name = "bazel_skylib", version = "1.5.0") diff --git a/modules/catch2/3.5.2/presubmit.yml b/modules/catch2/3.5.2/presubmit.yml new file mode 100644 index 00000000000..3d62a82a5ee --- /dev/null +++ b/modules/catch2/3.5.2/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_flags: + - --cxxopt=-std=c++14 + build_targets: + - '@catch2//:catch2' + - '@catch2//:catch2_main' diff --git a/modules/catch2/3.5.2/source.json b/modules/catch2/3.5.2/source.json new file mode 100644 index 00000000000..51012b09bbb --- /dev/null +++ b/modules/catch2/3.5.2/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/catchorg/Catch2/archive/refs/tags/v3.5.2.tar.gz", + "integrity": "sha256-JpVDpJ63b0Cz+T/yMdTCTCen4WyQ5H0uRbzFZN5HDG4=", + "strip_prefix": "Catch2-3.5.2", + "patch_strip": 0, + "patches": { + "module_dot_bazel.patch": "sha256-nI5W1HptgtshcJn4Gr7oyIc80pi9m/6V1FEZM/3/Ecw=" + } +} diff --git a/modules/catch2/metadata.json b/modules/catch2/metadata.json index 2d6cefbdfd5..d3e0215a2d2 100644 --- a/modules/catch2/metadata.json +++ b/modules/catch2/metadata.json @@ -20,7 +20,8 @@ "3.3.0", "3.4.0", "3.5.0", - "3.5.1" + "3.5.1", + "3.5.2" ], "yanked_versions": {} -} +} \ No newline at end of file