Skip to content

Commit

Permalink
Auto publish spulib to bazel-registry (#977)
Browse files Browse the repository at this point in the history
publish spulib to secretflow/bazel-registry when cutting a release
  • Loading branch information
tongke6 authored Jan 20, 2025
1 parent 4bf9607 commit 5d97ebe
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bcr/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
moduleRoots: ["src"]
7 changes: 7 additions & 0 deletions .bcr/src/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"homepage": "https://github.com/secretflow/spu",
"maintainers": [],
"repository": ["github:secretflow/spu"],
"versions": [],
"yanked_versions": {}
}
16 changes: 16 additions & 0 deletions .bcr/src/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:
- "@spulib//..."
5 changes: 5 additions & 0 deletions .bcr/src/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 5d97ebe

Please sign in to comment.