Skip to content

Commit

Permalink
Publish fmeum/[email protected] (#1050)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Meumertzheim <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and fmeum authored Oct 24, 2023
1 parent 94507e9 commit 207c2e4
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 1 deletion.
15 changes: 15 additions & 0 deletions modules/with_cfg.bzl/0.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module(
name = "with_cfg.bzl",
version = "0.2.0",
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)
12 changes: 12 additions & 0 deletions modules/with_cfg.bzl/0.2.0/patches/module_dot_bazel_version.patch
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.2.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
27 changes: 27 additions & 0 deletions modules/with_cfg.bzl/0.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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/..."
9 changes: 9 additions & 0 deletions modules/with_cfg.bzl/0.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-qcuRzWOXnIlQA4ONeKRuagjZP6PAPnWIBjPwmsSDIuM=",
"strip_prefix": "with_cfg.bzl-0.2.0",
"url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.2.0/with_cfg.bzl-v0.2.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-86sFeUEe4k59NFFzbk+i2AX9T26hYfaUffvMbhkFZ6U="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/with_cfg.bzl/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"github:fmeum/with_cfg.bzl"
],
"versions": [
"0.1.0"
"0.1.0",
"0.2.0"
],
"yanked_versions": {}
}

0 comments on commit 207c2e4

Please sign in to comment.