Skip to content

Commit

Permalink
Add .bcr files to automate publishing yacl rulesets to bazel registry
Browse files Browse the repository at this point in the history
  • Loading branch information
tongke6 committed Dec 25, 2024
1 parent 25db0bf commit 554806d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"homepage": "https://github.com/secretflow/yacl",
"maintainers": [],
"repository": ["github:secretflow/yacl"],
"versions": [],
"yanked_versions": {}
}
16 changes: 16 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@yacl//yacl/..."
5 changes: 5 additions & 0 deletions .bcr/source.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "",
"strip_prefix": "{REPO}-{TAG}",
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
}

0 comments on commit 554806d

Please sign in to comment.