Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Publish to BCR setup #363

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
fmeum marked this conversation as resolved.
Show resolved Hide resolved
"github": "rrbutani",
"name": "Rahul Butani"
}
],
"repository": ["github:bazel-contrib/toolchains_llvm"],
"versions": [],
"yanked_versions": {}
}
25 changes: 25 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
matrix:
bazel: [7.x]
platform: [ubuntu2004, macos, macos_arm64]
tasks:
verify_targets:
name: Verify build targets
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- "@toolchains_llvm//toolchain:all"
- "@toolchains_llvm//platforms:all"
bcr_test_module:
module_path: tests
matrix:
bazel: [7.x]
platform: [ubuntu2004, macos, macos_arm64]
tasks:
run_test_module:
name: Run test module
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- //:all
test_targets:
- //:all
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"
}
Loading