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
This commit is contained in:
Xavier Bonaventura 2023-05-16 05:40:08 +02:00 committed by GitHub
parent 2f0bb4cec0
commit caf2bc1ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -15,6 +15,8 @@ tasks:
name: "Latest Bazel" name: "Latest Bazel"
platform: ubuntu1804 platform: ubuntu1804
bazel: latest bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -23,6 +25,8 @@ tasks:
name: "Latest Bazel" name: "Latest Bazel"
platform: ubuntu1604 platform: ubuntu1604
bazel: latest bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -31,6 +35,8 @@ tasks:
name: "Latest Bazel" name: "Latest Bazel"
platform: macos platform: macos
bazel: latest bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -39,6 +45,8 @@ tasks:
name: "Latest Bazel" name: "Latest Bazel"
platform: windows platform: windows
bazel: latest bazel: latest
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
# TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after # TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after
# https://github.com/bazelbuild/bazel/issues/7761 is fixed # https://github.com/bazelbuild/bazel/issues/7761 is fixed
@ -50,6 +58,8 @@ tasks:
name: "Last Green Bazel" name: "Last Green Bazel"
platform: ubuntu1804 platform: ubuntu1804
bazel: last_green bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -58,6 +68,8 @@ tasks:
name: "Last Green Bazel" name: "Last Green Bazel"
platform: ubuntu1604 platform: ubuntu1604
bazel: last_green bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -66,6 +78,8 @@ tasks:
name: "Last Green Bazel" name: "Last Green Bazel"
platform: macos platform: macos
bazel: last_green bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
- "--test_env=PATH" - "--test_env=PATH"
@ -74,6 +88,8 @@ tasks:
name: "Last Green Bazel" name: "Last Green Bazel"
platform: windows platform: windows
bazel: last_green bazel: last_green
build_flags:
- "--incompatible_disallow_empty_glob"
test_flags: test_flags:
# TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after # TODO(laszlocsomor): remove "--test_env=LOCALAPPDATA" after
# https://github.com/bazelbuild/bazel/issues/7761 is fixed # https://github.com/bazelbuild/bazel/issues/7761 is fixed
@ -86,6 +102,7 @@ tasks:
platform: ubuntu1804 platform: ubuntu1804
bazel: last_green bazel: last_green
build_flags: build_flags:
- "--incompatible_disallow_empty_glob"
- "--experimental_enable_bzlmod" - "--experimental_enable_bzlmod"
test_flags: test_flags:
- "--experimental_enable_bzlmod" - "--experimental_enable_bzlmod"