Skip to content

Commit

Permalink
Add Catch2 3.5.2 (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn committed Jan 21, 2024
1 parent 020a120 commit 7c17e57
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
7 changes: 7 additions & 0 deletions 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")
11 changes: 11 additions & 0 deletions 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")
15 changes: 15 additions & 0 deletions 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'
9 changes: 9 additions & 0 deletions 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="
}
}
5 changes: 3 additions & 2 deletions modules/catch2/metadata.json
Expand Up @@ -20,7 +20,8 @@
"3.3.0",
"3.4.0",
"3.5.0",
"3.5.1"
"3.5.1",
"3.5.2"
],
"yanked_versions": {}
}
}

0 comments on commit 7c17e57

Please sign in to comment.