Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
morambro authored Aug 22, 2024
1 parent d866089 commit a9f13fc
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 1 deletion.
33 changes: 33 additions & 0 deletions modules/tink_cc/2.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Tink C++ Bazel Module definition."""
module(
name = "tink_cc",
version = "2.2.0",
)

bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_proto", version = "6.0.0-rc3")
bazel_dep(name = "platforms", version = "0.0.9")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "googletest", version = "1.14.0.bcr.1", repo_name = "com_google_googletest")
bazel_dep(name = "protobuf", version = "26.0.bcr.1", repo_name = "com_google_protobuf")
# TODO: Align with the version declared in tink_cc_deps.bzl.
bazel_dep(name = "boringssl", version = "0.0.0-20240126-22d349c")
bazel_dep(name = "rapidjson", version = "1.1.0")
bazel_dep(name = "abseil-cpp", version = "20230802.1", repo_name="com_google_absl")

wycheproof_extension = use_extension("//:extensions.bzl", "wycheproof_extension")
use_repo(wycheproof_extension, "wycheproof")
28 changes: 28 additions & 0 deletions modules/tink_cc/2.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
matrix:
bazel: [6.x, 7.x]
tasks:
verify_targets_ubuntu:
name: Verify tink-cc build targets (ubuntu2004)
platform: ubuntu2004
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@tink_cc//tink:tink_cc'
verify_targets_windows:
name: Verify tink-cc build targets (windows)
platform: windows
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=/std:c++14'
- '--features=compiler_param_file'
build_targets:
- '@tink_cc//tink:tink_cc'
verify_targets_macos:
name: Verify tink-cc build targets (macOS)
platform: macos_arm64
bazel: 7.x
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@tink_cc//tink:tink_cc'
6 changes: 6 additions & 0 deletions modules/tink_cc/2.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"url": "https://github.com/tink-crypto/tink-cc/releases/download/v2.2.0/tink-cc-2.2.0.zip",
"integrity": "sha256-iOFEIYJFLKoW0JVM6vc+F7CqMIN+5sDMFr8BEjE851M=",
"strip_prefix": "tink-cc-2.2.0",
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/tink_cc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"github:tink-crypto/tink-cc"
],
"versions": [
"2.1.3"
"2.1.3",
"2.2.0"
],
"yanked_versions": {}
}

0 comments on commit a9f13fc

Please sign in to comment.