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

[email protected] #3263

Merged
merged 3 commits into from
Nov 26, 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
41 changes: 41 additions & 0 deletions modules/rules_build_error/0.7.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"""Module for `rules_build_error`.
"""

module(
name = "rules_build_error",
version = "0.7.0",
)

bazel_dep(name = "platforms", version = "0.0.10")

################################
#
# Dev-dependencies
#
################################

bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True)
bazel_dep(
name = "hermetic_cc_toolchain",
version = "3.1.1",
dev_dependency = True,
)

cc_toolchains = use_extension(
"@hermetic_cc_toolchain//toolchain:ext.bzl",
"toolchains",
dev_dependency = True,
)
use_repo(cc_toolchains, "zig_sdk")

register_toolchains(
"@zig_sdk//toolchain:linux_amd64_gnu.2.31",
"@zig_sdk//toolchain:linux_arm64_gnu.2.31",
"@zig_sdk//toolchain:darwin_amd64",
"@zig_sdk//toolchain:darwin_arm64",
"@zig_sdk//toolchain:windows_amd64",
"@zig_sdk//toolchain:windows_arm64",
dev_dependency = True,
)

bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,9 +2,9 @@
"""

module(
name = "rules_build_error",
- version = "0.0.0",
+ version = "0.7.0",
)

bazel_dep(name = "platforms", version = "0.0.10")

20 changes: 20 additions & 0 deletions modules/rules_build_error/0.7.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
bcr_test_module:
module_path: "examples"
matrix:
platform:
- "debian10"
- "ubuntu2004"
- "macos_arm64"
- "windows"
bazel:
- "6.x"
- "7.x"
yuyawk marked this conversation as resolved.
Show resolved Hide resolved
- "8.0.0rc4"
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_build_error/0.7.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-sw4nrGohBUyDD2Fe7TibyuGPDA9ZGXGuOx7m0EKoCDo=",
"strip_prefix": "rules_build_error-0.7.0",
"url": "https://github.com/yuyawk/rules_build_error/releases/download/0.7.0/rules_build_error-0.7.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-/Zjd5KdYNHys3FHtgFbjWH5bOaoQHvtEtkcnc1D6W0E="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_build_error/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"0.5.4",
"0.5.5",
"0.6.0",
"0.6.1"
"0.6.1",
"0.7.0"
],
"yanked_versions": {}
}
Loading