Skip to content

Commit

Permalink
Add catch2 3.6.0 (#1952)
Browse files Browse the repository at this point in the history
Add catch2 3.6.0
  • Loading branch information
Vertexwahn committed May 5, 2024
1 parent a9276ac commit f778b75
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.6.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "catch2",
version = "3.6.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
11 changes: 11 additions & 0 deletions modules/catch2/3.6.0/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.6.0",
+ compatibility_level = 1,
+)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
20 changes: 20 additions & 0 deletions modules/catch2/3.6.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel: [6.x, 7.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- --cxxopt=-std=c++14
build_targets:
- '@catch2//:catch2'
- '@catch2//:catch2_main'
9 changes: 9 additions & 0 deletions modules/catch2/3.6.0/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.6.0.tar.gz",
"integrity": "sha256-SFkyJZp1x8a3LUuHQkLEiepRVdF++jReuMxyFZ9J81Y=",
"strip_prefix": "Catch2-3.6.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-6x1oQyPw71maCOEfbIGjK5lrqGaO7yg1rK6EXCXgoIE="
}
}
3 changes: 2 additions & 1 deletion modules/catch2/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"3.5.1",
"3.5.2",
"3.5.3",
"3.5.4"
"3.5.4",
"3.6.0"
],
"yanked_versions": {}
}

0 comments on commit f778b75

Please sign in to comment.