Add Publish to BCR setup (#363)

This commit is contained in:
Fabian Meumertzheim 2024-08-01 16:00:51 +02:00 committed by GitHub
parent 8bf80b5ca3
commit 6117a351ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 53 additions and 0 deletions

View File

@ -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": {}
}

25
.bcr/presubmit.yml Normal file
View File

@ -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

View File

@ -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"
}