Skip to content

Commit

Permalink
Build with incompatible_disallow_empty_glob (#447)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
limdor authored May 16, 2023
1 parent 2f0bb4c commit caf2bc1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ tasks:
name: "Latest Bazel"
platform: ubuntu1804
bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -23,6 +25,8 @@ tasks:
name: "Latest Bazel"
platform: ubuntu1604
bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -31,6 +35,8 @@ tasks:
name: "Latest Bazel"
platform: macos
bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -39,6 +45,8 @@ tasks:
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
Expand All @@ -50,6 +58,8 @@ tasks:
name: "Last Green Bazel"
platform: ubuntu1804
bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -58,6 +68,8 @@ tasks:
name: "Last Green Bazel"
platform: ubuntu1604
bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -66,6 +78,8 @@ tasks:
name: "Last Green Bazel"
platform: macos
bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags:
- "--test_env=PATH"

Expand All @@ -74,6 +88,8 @@ tasks:
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
Expand All @@ -86,6 +102,7 @@ tasks:
platform: ubuntu1804
bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
- "--experimental_enable_bzlmod"
test_flags:
- "--experimental_enable_bzlmod"
Expand Down

0 comments on commit caf2bc1

Please sign in to comment.