bazel-skylib/.bazelci/presubmit.yml

112 lines
2.1 KiB
YAML

---
tasks:
ubuntu1804_latest:
name: "Latest Bazel"
platform: ubuntu1804
bazel: latest
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
ubuntu1604_latest:
name: "Latest Bazel"
platform: ubuntu1604
bazel: latest
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
macos_latest:
name: "Latest Bazel"
platform: macos
bazel: latest
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
windows_latest:
name: "Latest Bazel"
platform: windows
bazel: latest
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "--"
- "..."
# Shell tests don't run on windows.
- "-//tests:analysis_test_e2e_test"
- "-//tests:unittest_e2e_test"
ubuntu1804_last_green:
name: "Last Green Bazel"
platform: ubuntu1804
bazel: last_green
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
ubuntu1604_last_green:
name: "Last Green Bazel"
platform: ubuntu1604
bazel: last_green
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
macos_last_green:
name: "Last Green Bazel"
platform: macos
bazel: last_green
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "..."
test_flags:
- "--test_env=PATH"
windows_last_green:
name: "Last Green Bazel"
platform: windows
bazel: last_green
build_targets:
- "..."
build_flags:
- "--incompatible_remap_main_repo"
test_targets:
- "--"
- "..."
# Shell tests don't run on windows.
- "-//tests:analysis_test_e2e_test"
- "-//tests:unittest_e2e_test"
buildifier: latest