Skip to content

Commit 15fef5f

Browse files
committed
Add a simple .bcr directory.
1 parent 6e9c0a9 commit 15fef5f

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

.bcr/metadata.template.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"homepage": "https://github.com/grpc/grpc-kotlin",
3+
"maintainers": [
4+
{
5+
"email": "",
6+
"github": "bshaffer",
7+
"github_user_id": 103941,
8+
"name": "Brent Shaffer"
9+
},
10+
{
11+
"email": "",
12+
"github": "jamesward",
13+
"github_user_id": 65043,
14+
"name": "James Ward"
15+
},
16+
{
17+
"email": "",
18+
"github": "lowasser",
19+
"github_user_id": 544569,
20+
"name": "Louis Wasserman"
21+
},
22+
{
23+
"email": "",
24+
"github": "duckladydinh",
25+
"github_user_id": 22922064,
26+
"name": "Lam Gia Thuan"
27+
}
28+
],
29+
"repository": [
30+
"github:grpc/grpc-kotlin"
31+
],
32+
"versions": [],
33+
"yanked_versions": {}
34+
}

.bcr/presubmit.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
matrix:
2+
platform:
3+
- ubuntu2204
4+
- macos
5+
bazel:
6+
- 8.x
7+
tasks:
8+
verify_targets:
9+
name: Verify build targets
10+
platform: ${{ platform }}
11+
bazel: ${{ bazel }}
12+
build_flags:
13+
- '--cxxopt=-std=c++17'
14+
- '--host_cxxopt=-std=c++17'
15+
build_targets:
16+
- '@grpc_kotlin//...'
17+
bcr_test_module:
18+
module_path: bzl-examples/bzlmod
19+
matrix:
20+
platform:
21+
- ubuntu2204
22+
- macos
23+
bazel:
24+
- 8.x
25+
tasks:
26+
run_test_module:
27+
name: Run test module
28+
platform: ${{ platform }}
29+
bazel: ${{ bazel }}
30+
build_targets:
31+
- java/...
32+
test_targets:
33+
- javatests/...

.bcr/source.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "",
3+
"strip_prefix": "{REPO}-{VERSION}",
4+
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
5+
}

0 commit comments

Comments
 (0)