diff --git a/modules/bzlws/0.2.0/MODULE.bazel b/modules/bzlws/0.2.0/MODULE.bazel new file mode 100644 index 00000000000..1cc32fd5672 --- /dev/null +++ b/modules/bzlws/0.2.0/MODULE.bazel @@ -0,0 +1,27 @@ +module( + name = "bzlws", + version = "0.2.0", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.6.1") +bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "yaml-cpp", version = "0.8.0") + +bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True) +bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True) +bazel_dep(name = "hedron_compile_commands", dev_dependency = True) +git_override( + module_name = "hedron_compile_commands", + commit = "204aa593e002cbd177d30f11f54cff3559110bb9", + remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", +) + +llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True) +llvm.toolchain(llvm_version = "17.0.6") +use_repo(llvm, "llvm_toolchain") + +register_toolchains( + "@llvm_toolchain//:all", + dev_dependency = True, +) diff --git a/modules/bzlws/0.2.0/presubmit.yml b/modules/bzlws/0.2.0/presubmit.yml new file mode 100644 index 00000000000..05448549fde --- /dev/null +++ b/modules/bzlws/0.2.0/presubmit.yml @@ -0,0 +1,18 @@ +bcr_test_module: + module_path: test + matrix: + platform: + - ubuntu2204 + - windows + - macos_arm64 + # https://github.com/zaucy/bzlws/issues/19 + # - macos + bazel: [7.x] + tasks: + run_test_module: + name: Build test module + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: ['//...'] + # https://github.com/zaucy/bzlws/issues/16 + # test_targets: ['//...'] diff --git a/modules/bzlws/0.2.0/source.json b/modules/bzlws/0.2.0/source.json new file mode 100644 index 00000000000..5c8e1202b4a --- /dev/null +++ b/modules/bzlws/0.2.0/source.json @@ -0,0 +1,4 @@ +{ + "integrity": "sha256-jl+BOXQ4QpE2DpndYZ6tN2TSMPvrL023GjfMtL9JjhQ=", + "url": "https://github.com/zaucy/bzlws/releases/download/0.2.0/bzlws-0.2.0.tar.gz" +} diff --git a/modules/bzlws/metadata.json b/modules/bzlws/metadata.json new file mode 100644 index 00000000000..5f3f792e99c --- /dev/null +++ b/modules/bzlws/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/zaucy/bzlws", + "maintainers": [ + { + "email": "ezekiel@seaube.com", + "github": "zaucy", + "name": "Ezekiel Warren" + } + ], + "repository": [ + "github:zaucy/bzlws" + ], + "versions": [ + "0.2.0" + ], + "yanked_versions": {} +}