Skip to content

Commit

Permalink
Add Publish to BCR setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Aug 1, 2024
1 parent 8bf80b5 commit 81bd46e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .bcr/metadata.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"homepage": "https://github.com/bazel-contrib/toolchains_llvm",
"maintainers": [
{
"email": "fabian@meumertzhe.im",
"github": "fmeum",
"name": "Fabian Meumertzheim"
},
{
"email": "james.sharpe@zenotech.com",
"github": "jsharpe",
"name": "James Sharpe"
},
{
"email": "rrbutani@users.noreply.github.com",
"github": "rrbutani",
"name": "Rahul Butani"
},
],
"repository": ["github:bazel-contrib/toolchains_llvm"],
"versions": [],
"yanked_versions": {}
}
12 changes: 12 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "tests"
matrix:
platform: ["debian10", "macos", "macos_arm64", "ubuntu2004"]
bazel: ["6.x", "7.x"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_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": "**leave this alone**",
"strip_prefix": "{REPO}-{VERSION}",
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/toolchains_llvm-{TAG}.tar.gz"
}

0 comments on commit 81bd46e

Please sign in to comment.