Skip to content

Commit

Permalink
Add Catch2 v3.5.1 (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn authored Jan 5, 2024
1 parent 24faa83 commit 918ea9f
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
7 changes: 7 additions & 0 deletions modules/catch2/3.5.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "catch2",
version = "3.5.1",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
11 changes: 11 additions & 0 deletions modules/catch2/3.5.1/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,3 +1,7 @@
-module(name = "catch2")
+module(
+ name = "catch2",
+ version = "3.5.1",
+ compatibility_level = 1,
+)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
15 changes: 15 additions & 0 deletions modules/catch2/3.5.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/catchorg/Catch2/archive/refs/tags/v3.5.1.tar.gz",
"integrity": "sha256-ScPKemjxyOxxMHc2vG7RT+whYxcH4b6a9F2vQDfnWgg=",
"strip_prefix": "Catch2-3.5.1",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-BvVOnQ8fexi6kxs2OkwTmI6/H/Qc46MSstLIhfXm+Ik="
}
}
8 changes: 7 additions & 1 deletion modules/catch2/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"email": "[email protected]",
"github": "curoky",
"name": "curoky"
},
{
"email": "[email protected]",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
Expand All @@ -14,7 +19,8 @@
"3.2.1",
"3.3.0",
"3.4.0",
"3.5.0"
"3.5.0",
"3.5.1"
],
"yanked_versions": {}
}

0 comments on commit 918ea9f

Please sign in to comment.