turn off doc building in CI (#797)
stardoc is borked if you have builds that are both WORKSPACE and bzlmod
And at bazel 7.0.0 if we have a local_repository in MODULE.bazel that
seems to break the build with a wonky errorr.
I reverted to WORKSPACE.bzlmod in examples/naming to correct for that.
diff --git a/.bazelci/tests.yml b/.bazelci/tests.yml
index d64a858..f8dee32 100644
--- a/.bazelci/tests.yml
+++ b/.bazelci/tests.yml
@@ -120,7 +120,7 @@
build_targets:
- "//distro:distro"
- "//distro:relnotes"
- - "//doc_build:*"
+ # - "//doc_build:*" Temporary disable
lts_windows:
name: lts_windows
<<: *windows
diff --git a/examples/naming_package_files/MODULE.bazel b/examples/naming_package_files/MODULE.bazel
index 705b549..3bc4f13 100644
--- a/examples/naming_package_files/MODULE.bazel
+++ b/examples/naming_package_files/MODULE.bazel
@@ -3,9 +3,10 @@
version = "0.0.1",
)
-local_path_override(
- module_name = "rules_pkg",
- path = "../..",
-)
+# Temporarilly using WORKSPACE.bzlmod until CI switches to bazel past 7.0.0
+#local_path_override(
+# module_name = "rules_pkg",
+# path = "../..",
+#)
bazel_dep(name = "rules_cc", version = "0.0.2")
diff --git a/examples/naming_package_files/WORKSPACE.bzlmod b/examples/naming_package_files/WORKSPACE.bzlmod
new file mode 100644
index 0000000..ac785ff
--- /dev/null
+++ b/examples/naming_package_files/WORKSPACE.bzlmod
@@ -0,0 +1,8 @@
+local_repository(
+ name = "rules_pkg",
+ path = "../..",
+)
+
+load("@rules_pkg//pkg:deps.bzl", "rules_pkg_dependencies")
+
+rules_pkg_dependencies()