Skip to content

Commit

Permalink
Automate publishing heu to bazel-registry (#163)
Browse files Browse the repository at this point in the history
* Automate publishing heu to bazel-registry

* Bump to 0.6.0.dev20250123

* ignore .bcr for license checker
  • Loading branch information
tongke6 authored Jan 23, 2025
1 parent d2adb26 commit 3b496e4
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
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/heu",
"maintainers": [],
"repository": ["github:secretflow/heu"],
"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:
- "@heu//heu/..."
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}-{VERSION}",
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
}
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ header: # <1>
- "MODULE.bazel.lock"
- "third_party/bazel_rust/**/*.bazel" # Generated
- "third_party/bazel_rust/**/*.bzl" # Generated
- ".bcr"

comment: never # <9>

Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

module(
name = "heu",
version = "0.5.1",
version = "0.6.0.dev20250123",
compatibility_level = 1,
)

Expand Down

0 comments on commit 3b496e4

Please sign in to comment.