From 06f061ee969b14b2f6b4529dc75f553b90c6a303 Mon Sep 17 00:00:00 2001 From: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:55:15 +0000 Subject: [PATCH 1/3] Publish yuyawk/rules_build_error@0.7.0 --- modules/rules_build_error/0.7.0/MODULE.bazel | 41 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++++ modules/rules_build_error/0.7.0/presubmit.yml | 19 +++++++++ modules/rules_build_error/0.7.0/source.json | 9 ++++ modules/rules_build_error/metadata.json | 3 +- 5 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 modules/rules_build_error/0.7.0/MODULE.bazel create mode 100644 modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_build_error/0.7.0/presubmit.yml create mode 100644 modules/rules_build_error/0.7.0/source.json diff --git a/modules/rules_build_error/0.7.0/MODULE.bazel b/modules/rules_build_error/0.7.0/MODULE.bazel new file mode 100644 index 00000000000..b96540aef4c --- /dev/null +++ b/modules/rules_build_error/0.7.0/MODULE.bazel @@ -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) diff --git a/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch b/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..f7952d4feb5 --- /dev/null +++ b/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch @@ -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") + diff --git a/modules/rules_build_error/0.7.0/presubmit.yml b/modules/rules_build_error/0.7.0/presubmit.yml new file mode 100644 index 00000000000..9c0ccf3fc1c --- /dev/null +++ b/modules/rules_build_error/0.7.0/presubmit.yml @@ -0,0 +1,19 @@ +--- +bcr_test_module: + module_path: "examples" + matrix: + platform: + - "debian10" + - "ubuntu2004" + - "macos" + - "windows" + bazel: + - "6.x" + - "7.x" + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_build_error/0.7.0/source.json b/modules/rules_build_error/0.7.0/source.json new file mode 100644 index 00000000000..730aae90335 --- /dev/null +++ b/modules/rules_build_error/0.7.0/source.json @@ -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 +} diff --git a/modules/rules_build_error/metadata.json b/modules/rules_build_error/metadata.json index 24c86aa6ef5..328ef6c1582 100644 --- a/modules/rules_build_error/metadata.json +++ b/modules/rules_build_error/metadata.json @@ -21,7 +21,8 @@ "0.5.4", "0.5.5", "0.6.0", - "0.6.1" + "0.6.1", + "0.7.0" ], "yanked_versions": {} } From f5754ffdaaaca9157ddc7d6c719c0b2b4a5aae9c Mon Sep 17 00:00:00 2001 From: yuyawk <46620009+yuyawk@users.noreply.github.com> Date: Tue, 26 Nov 2024 22:26:53 +0900 Subject: [PATCH 2/3] Update modules/rules_build_error/0.7.0/presubmit.yml --- modules/rules_build_error/0.7.0/presubmit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/rules_build_error/0.7.0/presubmit.yml b/modules/rules_build_error/0.7.0/presubmit.yml index 9c0ccf3fc1c..1f64877b9db 100644 --- a/modules/rules_build_error/0.7.0/presubmit.yml +++ b/modules/rules_build_error/0.7.0/presubmit.yml @@ -10,6 +10,7 @@ bcr_test_module: bazel: - "6.x" - "7.x" + - "8.0.0rc4" tasks: run_tests: name: "Run test module" From 2a95cd287111a8fdc47196160ee7307017a9497d Mon Sep 17 00:00:00 2001 From: yuyawk <46620009+yuyawk@users.noreply.github.com> Date: Wed, 27 Nov 2024 00:01:29 +0900 Subject: [PATCH 3/3] Update modules/rules_build_error/0.7.0/presubmit.yml --- modules/rules_build_error/0.7.0/presubmit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rules_build_error/0.7.0/presubmit.yml b/modules/rules_build_error/0.7.0/presubmit.yml index 1f64877b9db..13be774b610 100644 --- a/modules/rules_build_error/0.7.0/presubmit.yml +++ b/modules/rules_build_error/0.7.0/presubmit.yml @@ -5,7 +5,7 @@ bcr_test_module: platform: - "debian10" - "ubuntu2004" - - "macos" + - "macos_arm64" - "windows" bazel: - "6.x"