Skip to content

Commit

Permalink
ci: publish-to-bcr (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyawk authored Apr 10, 2024
1 parent 1adf4d9 commit 8220568
Show file tree
Hide file tree
Showing 4 changed files with 40 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 @@
---
15 changes: 15 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"homepage": "https://github.com/yuyawk/rules_build_error",
"maintainers": [
{
"name": "yuyawk",
"email": "[email protected]",
"github": "yuyawk"
}
],
"repository": [
"github:yuyawk/rules_build_error"
],
"versions": [],
"yanked_versions": {}
}
19 changes: 19 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
bcr_test_module:
module_path: "examples"
matrix:
platform:
- "debian10"
- "macos"
- "ubuntu2004"
- "windows"
bazel:
- "6.x"
- "7.x"
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "//..."
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}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz"
}

0 comments on commit 8220568

Please sign in to comment.