2018-04-26 17:52:06 +00:00
|
|
|
---
|
2019-03-07 13:25:20 +00:00
|
|
|
tasks:
|
2021-01-25 19:07:05 +00:00
|
|
|
ubuntu2004:
|
|
|
|
platform: ubuntu2004
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|
2021-03-09 21:28:28 +00:00
|
|
|
rbe_ubuntu1604:
|
|
|
|
platform: rbe_ubuntu1604
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|
2021-01-25 19:07:05 +00:00
|
|
|
macos:
|
|
|
|
platform: macos
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|
|
|
|
windows:
|
|
|
|
platform: windows
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|
2021-02-04 18:42:02 +00:00
|
|
|
# TODO: https://github.com/bazelbuild/rules_foreign_cc/issues/495
|
2021-01-25 19:07:05 +00:00
|
|
|
- "-//test:shell_method_symlink_contents_to_dir_test"
|
|
|
|
- "-//test:shell_script_inner_fun_test"
|
2021-05-06 00:47:25 +00:00
|
|
|
ubuntu1804_examples_standalone:
|
|
|
|
name: Examples (spawn_strategy=standalone)
|
|
|
|
platform: ubuntu1804
|
|
|
|
working_directory: examples
|
|
|
|
linux_targets: &linux_targets_standalone
|
|
|
|
- "//..."
|
|
|
|
- "//:third_party_examples_linux_tests"
|
|
|
|
build_targets: *linux_targets_standalone
|
|
|
|
build_flags:
|
|
|
|
- "-c"
|
|
|
|
- "dbg"
|
|
|
|
- "--spawn_strategy=standalone"
|
|
|
|
- "-k"
|
|
|
|
test_targets: *linux_targets_standalone
|
|
|
|
test_flags:
|
|
|
|
- "-c"
|
|
|
|
- "dbg"
|
|
|
|
- "--spawn_strategy=standalone"
|
2021-01-25 19:07:05 +00:00
|
|
|
ubuntu2004_examples:
|
|
|
|
name: Examples
|
|
|
|
platform: ubuntu2004
|
2019-03-07 13:25:20 +00:00
|
|
|
working_directory: examples
|
2021-03-15 16:59:17 +00:00
|
|
|
linux_targets: &linux_targets
|
2021-02-26 20:21:13 +00:00
|
|
|
- "//..."
|
|
|
|
- "//:third_party_examples_linux_tests"
|
2021-03-15 16:59:17 +00:00
|
|
|
build_targets: *linux_targets
|
|
|
|
test_targets: *linux_targets
|
2021-03-09 21:28:28 +00:00
|
|
|
rbe_ubuntu1604_examples:
|
|
|
|
name: Examples
|
|
|
|
platform: rbe_ubuntu1604
|
|
|
|
working_directory: examples
|
|
|
|
rbe_targets: &rbe_targets
|
|
|
|
- "//..."
|
2021-03-28 21:01:15 +00:00
|
|
|
- "//:third_party_examples_linux_rbe_tests"
|
|
|
|
# Gives error: zipalign: error while loading shared libraries: /usr/local/lib/libc++.so: file too short
|
2021-03-09 21:28:28 +00:00
|
|
|
- "-//cmake_android/..."
|
|
|
|
build_targets: *rbe_targets
|
|
|
|
test_targets: *rbe_targets
|
2021-05-06 00:47:25 +00:00
|
|
|
macos_examples_standalone:
|
|
|
|
name: Examples (spawn_strategy=standalone)
|
|
|
|
platform: macos
|
|
|
|
working_directory: examples
|
|
|
|
macos_targets: &macos_targets_standalone
|
|
|
|
- "//..."
|
|
|
|
- "//:third_party_examples_macos_tests"
|
|
|
|
build_targets: *macos_targets_standalone
|
|
|
|
build_flags:
|
|
|
|
- "-c"
|
|
|
|
- "dbg"
|
|
|
|
- "--spawn_strategy=standalone"
|
|
|
|
- "-k"
|
|
|
|
test_targets: *macos_targets_standalone
|
|
|
|
test_flags:
|
|
|
|
- "-c"
|
|
|
|
- "dbg"
|
|
|
|
- "--spawn_strategy=standalone"
|
2021-01-25 19:07:05 +00:00
|
|
|
macos_examples:
|
|
|
|
name: Examples
|
2019-03-07 13:25:20 +00:00
|
|
|
platform: macos
|
|
|
|
working_directory: examples
|
2021-03-15 16:59:17 +00:00
|
|
|
macos_targets: &macos_targets
|
2021-02-26 20:21:13 +00:00
|
|
|
- "//..."
|
|
|
|
- "//:third_party_examples_macos_tests"
|
2021-03-15 16:59:17 +00:00
|
|
|
build_targets: *macos_targets
|
|
|
|
test_targets: *macos_targets
|
2021-01-25 19:07:05 +00:00
|
|
|
windows_examples:
|
|
|
|
name: Examples
|
2019-03-07 13:25:20 +00:00
|
|
|
platform: windows
|
|
|
|
working_directory: examples
|
2021-02-26 20:21:13 +00:00
|
|
|
windows_targets: &windows_targets
|
|
|
|
- "//..."
|
2021-03-01 15:46:25 +00:00
|
|
|
- "//:third_party_examples_windows_tests"
|
2021-02-26 20:21:13 +00:00
|
|
|
# TODO: Support all targets on windows
|
|
|
|
- "-//cmake_android/..."
|
|
|
|
- "-//cmake_defines/..."
|
|
|
|
- "-//cmake_hello_world_lib/..."
|
|
|
|
- "-//cmake_synthetic/..."
|
|
|
|
- "-//cmake_with_bazel_transitive/..."
|
|
|
|
- "-//cmake_working_dir/..."
|
|
|
|
- "-//configure_with_bazel_transitive/..."
|
|
|
|
- "-//make_simple/..."
|
2021-03-01 15:46:25 +00:00
|
|
|
- "-//ninja_simple/..."
|
2021-02-26 20:21:13 +00:00
|
|
|
build_targets: *windows_targets
|
|
|
|
test_targets: *windows_targets
|
2021-01-25 15:44:44 +00:00
|
|
|
test_flags:
|
|
|
|
- "--enable_runfiles"
|
2021-03-09 21:28:28 +00:00
|
|
|
rbe_ubuntu1604_flags:
|
|
|
|
name: Flags
|
|
|
|
platform: rbe_ubuntu1604
|
|
|
|
working_directory: test/standard_cxx_flags_test
|
|
|
|
test_targets:
|
|
|
|
- "//:flags_test"
|
2021-01-25 19:07:05 +00:00
|
|
|
ubuntu2004_flags:
|
|
|
|
name: Flags
|
|
|
|
platform: ubuntu2004
|
2019-03-11 15:50:39 +00:00
|
|
|
working_directory: test/standard_cxx_flags_test
|
|
|
|
test_targets:
|
|
|
|
- "//:flags_test"
|
|
|
|
macos_flags:
|
2021-01-25 19:07:05 +00:00
|
|
|
name: Flags
|
2019-03-11 15:50:39 +00:00
|
|
|
platform: macos
|
|
|
|
working_directory: test/standard_cxx_flags_test
|
|
|
|
test_targets:
|
|
|
|
- "//:flags_test"
|
|
|
|
windows_flags:
|
2021-01-25 19:07:05 +00:00
|
|
|
name: Flags
|
2019-03-11 15:50:39 +00:00
|
|
|
platform: windows
|
|
|
|
working_directory: test/standard_cxx_flags_test
|
|
|
|
test_targets:
|
|
|
|
- "//:flags_test"
|
2021-03-09 21:28:28 +00:00
|
|
|
rbe_ubuntu1604_detect_root:
|
|
|
|
name: Detect root
|
|
|
|
platform: rbe_ubuntu1604
|
|
|
|
working_directory: test/detect_root_test
|
|
|
|
test_targets:
|
|
|
|
- "//:tests"
|
2021-01-25 19:07:05 +00:00
|
|
|
ubuntu2004_detect_root:
|
|
|
|
name: Detect root
|
|
|
|
platform: ubuntu2004
|
2020-04-30 09:17:48 +00:00
|
|
|
working_directory: test/detect_root_test
|
|
|
|
test_targets:
|
|
|
|
- "//:tests"
|
|
|
|
macos_detect_root:
|
2021-01-25 19:07:05 +00:00
|
|
|
name: Detect root
|
2020-04-30 09:17:48 +00:00
|
|
|
platform: macos
|
|
|
|
working_directory: test/detect_root_test
|
|
|
|
test_targets:
|
|
|
|
- "//:tests"
|
|
|
|
windows_detect_root:
|
2021-01-25 19:07:05 +00:00
|
|
|
name: Detect root
|
2020-04-30 09:17:48 +00:00
|
|
|
platform: windows
|
|
|
|
working_directory: test/detect_root_test
|
|
|
|
test_targets:
|
|
|
|
- "//:tests"
|
2021-01-24 23:23:19 +00:00
|
|
|
docs_linux:
|
|
|
|
name: Docs
|
|
|
|
platform: ubuntu2004
|
|
|
|
working_directory: docs
|
2021-06-22 20:10:31 +00:00
|
|
|
build_targets:
|
2021-02-02 20:09:33 +00:00
|
|
|
- //...
|
2021-01-25 19:07:05 +00:00
|
|
|
min_supported_version:
|
|
|
|
name: "Minimum Supported Version"
|
2021-03-15 17:24:49 +00:00
|
|
|
bazel: "3.7.0"
|
2021-01-25 19:07:05 +00:00
|
|
|
platform: ubuntu1604
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|
|
|
|
min_supported_version_examples:
|
|
|
|
name: "Minimum Supported Version Examples"
|
2021-03-15 17:24:49 +00:00
|
|
|
bazel: "3.7.0"
|
2021-01-25 19:07:05 +00:00
|
|
|
platform: ubuntu1604
|
|
|
|
working_directory: examples
|
2021-03-15 16:59:17 +00:00
|
|
|
min_supported_targets: &min_supported_targets
|
2021-02-26 20:21:13 +00:00
|
|
|
- "//..."
|
2021-03-15 16:59:17 +00:00
|
|
|
build_targets: *min_supported_targets
|
|
|
|
test_targets: *min_supported_targets
|
2021-01-25 22:01:43 +00:00
|
|
|
|
2021-02-02 20:09:33 +00:00
|
|
|
buildifier:
|
|
|
|
version: latest
|
2021-06-03 20:30:26 +00:00
|
|
|
# keep this argument in sync with .pre-commit-config.yaml
|
2021-02-02 20:09:33 +00:00
|
|
|
warnings: "all"
|