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 rules_platform #2433

Merged
merged 1 commit into from
Jul 15, 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
14 changes: 14 additions & 0 deletions modules/rules_platform/0.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Bazel build and test dependencies."""

# NOTE: When editing this file, also update the lockfile.
# bazel mod deps --lockfile_mode=update

module(
name = "rules_platform",
version = "0.1.0",
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")

# Dev dependencies
bazel_dep(name = "rules_pkg", version = "0.10.1", dev_dependency = True)
17 changes: 17 additions & 0 deletions modules/rules_platform/0.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_platform//platform_data:srcs'
5 changes: 5 additions & 0 deletions modules/rules_platform/0.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/bazelbuild/rules_platform/releases/download/0.1.0/rules_platform-0.1.0.tar.gz",
"integrity": "sha256-Cq3RvTUAkaofm28vvKyM2YIBR2KJRU5HWyiAHs+F0/0=",
"patch_strip": 0
}
22 changes: 22 additions & 0 deletions modules/rules_platform/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "https://github.com/bazelbuild/rules_platform",
"maintainers": [
{
"email": "[email protected]",
"github": "aranguyen",
"name": "Ara Nguyen"
},
{
"email": "[email protected]",
"github": "gregestren",
"name": "Greg Estren"
}
],
"repository": [
"github:bazelbuild/rules_platform"
],
"versions": [
"0.1.0"
],
"yanked_versions": {}
}
Loading