Skip to content

Commit

Permalink
Add googletest@1.14.0.bcr.1 (#970)
Browse files Browse the repository at this point in the history
Adds a missing dep on `re2`.
  • Loading branch information
fmeum committed Oct 4, 2023
1 parent a348be5 commit c9390dd
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
10 changes: 10 additions & 0 deletions modules/googletest/1.14.0.bcr.1/MODULE.bazel
@@ -0,0 +1,10 @@
module(
name = "googletest",
compatibility_level = 1,
version = "1.14.0.bcr.1",
)

bazel_dep(name = "abseil-cpp", repo_name = "com_google_absl", version = "20230125.1")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "re2", repo_name = "com_googlesource_code_re2", version = "2023-09-01")
13 changes: 13 additions & 0 deletions modules/googletest/1.14.0.bcr.1/patches/module_dot_bazel.patch
@@ -0,0 +1,13 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,10 @@
+module(
+ name = "googletest",
+ compatibility_level = 1,
+ version = "1.14.0.bcr.1",
+)
+
+bazel_dep(name = "abseil-cpp", repo_name = "com_google_absl", version = "20230125.1")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "rules_cc", version = "0.0.8")
+bazel_dep(name = "re2", repo_name = "com_googlesource_code_re2", version = "2023-09-01")
16 changes: 16 additions & 0 deletions modules/googletest/1.14.0.bcr.1/presubmit.yml
@@ -0,0 +1,16 @@
matrix:
platform:
- centos7_java11_devtoolset10
- debian10
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_flags:
- '--cxxopt=-std=c++14'
- '--define=absl=1'
build_targets:
- '@googletest//:gtest'
9 changes: 9 additions & 0 deletions modules/googletest/1.14.0.bcr.1/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-itWYxzrXluDYKAsILOvYKmMNc+c808cAV5OKZQG7pdc=",
"strip_prefix": "googletest-1.14.0",
"url": "https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-jijctisPYOzP4X4cl0K7neRh/kqJB+yODNHf8V8heCE="
}
}
3 changes: 2 additions & 1 deletion modules/googletest/metadata.json
Expand Up @@ -8,7 +8,8 @@
"1.11.0",
"1.12.1",
"1.13.0",
"1.14.0"
"1.14.0",
"1.14.0.bcr.1"
],
"yanked_versions": {}
}

0 comments on commit c9390dd

Please sign in to comment.