-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/fmeum/with_cfg.bzl/releases/tag/v0.6.1 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Fabian Meumertzheim <[email protected]>
- Loading branch information
1 parent
6f70c65
commit 01171b7
Showing
5 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
module( | ||
name = "with_cfg.bzl", | ||
version = "0.6.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.1") | ||
bazel_dep(name = "platforms", version = "0.0.6") | ||
|
||
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.4.0", dev_dependency = True) | ||
bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle") | ||
bazel_dep(name = "rules_testing", version = "0.4.0", dev_dependency = True) | ||
bazel_dep(name = "stardoc", dev_dependency = True) | ||
git_override( | ||
module_name = "stardoc", | ||
commit = "3baa5d1761970c6285d2ac9c3adccfaac42f54c5", | ||
remote = "https://github.com/bazelbuild/stardoc.git", | ||
) | ||
|
||
bazel_dep(name = "rules_java", version = "7.6.1", dev_dependency = True) | ||
bazel_dep(name = "rules_proto", version = "6.0.0", dev_dependency = True) | ||
bazel_dep(name = "toolchains_protoc", version = "0.3.0", dev_dependency = True) | ||
|
||
protoc = use_extension( | ||
"@toolchains_protoc//protoc:extensions.bzl", | ||
"protoc", | ||
dev_dependency = True, | ||
) | ||
protoc.toolchain( | ||
# Creates a repository to satisfy well-known-types dependencies such as | ||
# deps=["@com_google_protobuf//:any_proto"] | ||
google_protobuf = "com_google_protobuf", | ||
# Pin to any version of protoc | ||
version = "v26.0", | ||
) | ||
|
||
protobuf_java_repos = use_extension( | ||
"//tools:extensions.bzl", | ||
"protobuf_java_repo", | ||
dev_dependency = True, | ||
) | ||
use_repo(protobuf_java_repos, "protobuf_java") | ||
|
||
register_toolchains( | ||
"//docs/...", | ||
dev_dependency = True, | ||
) |
12 changes: 12 additions & 0 deletions
12
modules/with_cfg.bzl/0.6.1/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.6.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
bcr_test_module: | ||
module_path: "examples" | ||
matrix: | ||
platform: ["debian10", "macos_arm64", "ubuntu2004"] | ||
bazel: ["6.x", "7.x"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
test_targets: | ||
- "//..." | ||
run_windows_tests: | ||
name: "Run test module" | ||
platform: "windows" | ||
bazel: ${{ bazel }} | ||
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. | ||
# TODO: Enable after https://github.com/bazelbuild/bazel/pull/23076. | ||
- "-//sh/..." | ||
- "-//args_location_expansion/..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-2D+ZrDnNmUCEjqEaUaYBWc8JzaK6MFRQNgQVUarnOrQ=", | ||
"strip_prefix": "with_cfg.bzl-0.6.1", | ||
"url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.6.1/with_cfg.bzl-v0.6.1.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-8Sk/DjM1RrPrbCsqpjTQrEgWTVhFY1cI7f1eqzGFcSY=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ | |
"0.4.0", | ||
"0.4.2", | ||
"0.5.0", | ||
"0.6.0" | ||
"0.6.0", | ||
"0.6.1" | ||
], | ||
"yanked_versions": {} | ||
} |