From 7004deef786dc4152eedd3dfedf91b5b6b4590d4 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 08:35:14 +0000 Subject: [PATCH] Publish fmeum/with_cfg.bzl@v0.2.1 (#1158) Co-authored-by: Fabian Meumertzheim --- modules/with_cfg.bzl/0.2.1/MODULE.bazel | 15 +++++++++++ .../patches/module_dot_bazel_version.patch | 12 +++++++++ modules/with_cfg.bzl/0.2.1/presubmit.yml | 27 +++++++++++++++++++ modules/with_cfg.bzl/0.2.1/source.json | 9 +++++++ modules/with_cfg.bzl/metadata.json | 3 ++- 5 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 modules/with_cfg.bzl/0.2.1/MODULE.bazel create mode 100644 modules/with_cfg.bzl/0.2.1/patches/module_dot_bazel_version.patch create mode 100644 modules/with_cfg.bzl/0.2.1/presubmit.yml create mode 100644 modules/with_cfg.bzl/0.2.1/source.json diff --git a/modules/with_cfg.bzl/0.2.1/MODULE.bazel b/modules/with_cfg.bzl/0.2.1/MODULE.bazel new file mode 100644 index 00000000000..8914e1964a0 --- /dev/null +++ b/modules/with_cfg.bzl/0.2.1/MODULE.bazel @@ -0,0 +1,15 @@ +module( + name = "with_cfg.bzl", + version = "0.2.1", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") + +bazel_dep(name = "aspect_bazel_lib", version = "1.34.0", dev_dependency = True) +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) +bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle") +bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True) +bazel_dep(name = "rules_testing", version = "0.4.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True) diff --git a/modules/with_cfg.bzl/0.2.1/patches/module_dot_bazel_version.patch b/modules/with_cfg.bzl/0.2.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..a03c3bc6858 --- /dev/null +++ b/modules/with_cfg.bzl/0.2.1/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "with_cfg.bzl", +- version = "0.0.0", ++ version = "0.2.1", + compatibility_level = 1, + ) + + bazel_dep(name = "bazel_skylib", version = "1.4.1") diff --git a/modules/with_cfg.bzl/0.2.1/presubmit.yml b/modules/with_cfg.bzl/0.2.1/presubmit.yml new file mode 100644 index 00000000000..beb29df2024 --- /dev/null +++ b/modules/with_cfg.bzl/0.2.1/presubmit.yml @@ -0,0 +1,27 @@ +bcr_test_module: + module_path: "examples" + matrix: + platform: ["debian10", "macos", "ubuntu2004"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: 6.4.0rc3 + test_targets: + - "//..." + run_windows_tests: + name: "Run test module" + platform: "windows" + bazel: 6.4.0rc3 + build_targets: + - "//..." + test_targets: + - "//..." + # Running these tests on Windows requires non-standard Visual Studio + # components and tweaks to PATH. + - "-//cc_asan_test/..." + - "-//cc_asan_test_with_reset/..." + # Fails with: + # LAUNCHER ERROR: Cannot launch process: "C:/tools/msys64/usr/bin/bash.exe + # Reason: (error: 8): Not enough memory resources are available to process this command. + - "-//sh/..." diff --git a/modules/with_cfg.bzl/0.2.1/source.json b/modules/with_cfg.bzl/0.2.1/source.json new file mode 100644 index 00000000000..b7cacffd2c2 --- /dev/null +++ b/modules/with_cfg.bzl/0.2.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-xrgMrSmK+opGvAHNlt9PTYZgZREB9r9a9Y8nJONJAX0=", + "strip_prefix": "with_cfg.bzl-0.2.1", + "url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.2.1/with_cfg.bzl-v0.2.1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-HbZ2cZ6oRnVBaDQSRyrrspWWa5pI2OEDFgluxo0mRBM=" + }, + "patch_strip": 1 +} diff --git a/modules/with_cfg.bzl/metadata.json b/modules/with_cfg.bzl/metadata.json index 933e4526f34..4d19e1565ba 100644 --- a/modules/with_cfg.bzl/metadata.json +++ b/modules/with_cfg.bzl/metadata.json @@ -12,7 +12,8 @@ ], "versions": [ "0.1.0", - "0.2.0" + "0.2.0", + "0.2.1" ], "yanked_versions": {} }