Build with incompatible_disallow_empty_glob (#447)
In order to flip the flag, all downstream projects should be adapted. However, it is hard to fix them all if there are constant regressions. Adding it to the CI will ensure that once the project can build with incompatible_disallow_empty_glob it can keep building like that.
See: bazelbuild/bazel#15327
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index aabe02a..5e83f46 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -15,6 +15,8 @@
name: "Latest Bazel"
platform: ubuntu1804
bazel: latest
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -23,6 +25,8 @@
name: "Latest Bazel"
platform: ubuntu1604
bazel: latest
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -31,6 +35,8 @@
name: "Latest Bazel"
platform: macos
bazel: latest
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -39,6 +45,8 @@
name: "Latest Bazel"
platform: windows
bazel: latest
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
# TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after
# https://github.com/bazelbuild/bazel/issues/7761 is fixed
@@ -50,6 +58,8 @@
name: "Last Green Bazel"
platform: ubuntu1804
bazel: last_green
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -58,6 +68,8 @@
name: "Last Green Bazel"
platform: ubuntu1604
bazel: last_green
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -66,6 +78,8 @@
name: "Last Green Bazel"
platform: macos
bazel: last_green
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"
@@ -74,6 +88,8 @@
name: "Last Green Bazel"
platform: windows
bazel: last_green
+ build_flags:
+ - "--incompatible_disallow_empty_glob"
test_flags:
# TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after
# https://github.com/bazelbuild/bazel/issues/7761 is fixed
@@ -86,6 +102,7 @@
platform: ubuntu1804
bazel: last_green
build_flags:
+ - "--incompatible_disallow_empty_glob"
- "--experimental_enable_bzlmod"
test_flags:
- "--experimental_enable_bzlmod"