Skip to content

Commit

Permalink
Add rules_platform (#2433)
Browse files Browse the repository at this point in the history
Created using `bazel run //tools:add_module`.

Fixes bazelbuild/rules_platform#13
  • Loading branch information
tpudlik authored Jul 15, 2024
1 parent 5382155 commit e6fdbf4
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
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": {}
}

0 comments on commit e6fdbf4

Please sign in to comment.