2019-01-09 14:51:39 +00:00
|
|
|
---
|
2019-11-14 10:03:04 +00:00
|
|
|
x_defaults:
|
|
|
|
# YAML has a feature for "repeated nodes", BazelCI is fine with extra nodes
|
|
|
|
# it doesn't know about; so that is used to avoid repeating common subparts.
|
|
|
|
common: &common
|
|
|
|
# We have to list every package because even with exclusion notation -//foo
|
|
|
|
# Bazel will load the excluded package and it will be an error because at
|
|
|
|
# release Bazel the cc_libraries do not have all the attributes.
|
2019-01-09 14:51:39 +00:00
|
|
|
build_targets:
|
2019-11-14 10:03:04 +00:00
|
|
|
- "//:all"
|
|
|
|
- "//cc:all"
|
|
|
|
- "//cc/private/rules_impl:all"
|
2023-01-11 10:47:44 +00:00
|
|
|
- "//cc/private/toolchain:all"
|
|
|
|
- "//cc/runfiles:all"
|
2019-11-14 10:03:04 +00:00
|
|
|
- "//examples:all"
|
|
|
|
- "//examples/my_c_archive:all"
|
|
|
|
- "//examples/my_c_compile:all"
|
|
|
|
- "//examples/write_cc_toolchain_cpu:all"
|
|
|
|
- "//tools/migration:all"
|
2023-07-07 22:29:45 +00:00
|
|
|
- "//tests/..."
|
2019-01-09 14:51:39 +00:00
|
|
|
test_flags:
|
2019-11-15 13:36:25 +00:00
|
|
|
- "--test_timeout=120"
|
2019-01-09 14:51:39 +00:00
|
|
|
test_targets:
|
2019-11-14 10:03:04 +00:00
|
|
|
- "//:all"
|
|
|
|
- "//cc:all"
|
|
|
|
- "//cc/private/rules_impl:all"
|
2023-01-11 10:47:44 +00:00
|
|
|
- "//cc/private/toolchain:all"
|
2019-11-14 10:03:04 +00:00
|
|
|
- "//examples:all"
|
|
|
|
- "//examples/my_c_archive:all"
|
|
|
|
- "//examples/my_c_compile:all"
|
|
|
|
- "//examples/write_cc_toolchain_cpu:all"
|
|
|
|
- "//tools/migration:all"
|
2023-07-07 22:29:45 +00:00
|
|
|
- "//tests/..."
|
2019-11-14 10:03:04 +00:00
|
|
|
|
|
|
|
buildifier:
|
|
|
|
version: latest
|
|
|
|
warnings: "all"
|
|
|
|
|
|
|
|
tasks:
|
2019-01-09 14:51:39 +00:00
|
|
|
ubuntu1804:
|
2019-11-14 10:03:04 +00:00
|
|
|
<<: *common
|
2019-01-09 14:51:39 +00:00
|
|
|
macos:
|
2019-11-14 10:03:04 +00:00
|
|
|
<<: *common
|
2019-01-09 14:51:39 +00:00
|
|
|
windows:
|
2019-11-14 10:03:04 +00:00
|
|
|
<<: *common
|
2023-01-11 12:32:58 +00:00
|
|
|
ubuntu_bzlmod:
|
|
|
|
name: Bzlmod
|
|
|
|
platform: ubuntu1804
|
|
|
|
build_flags:
|
|
|
|
- "--enable_bzlmod"
|
|
|
|
- "--ignore_dev_dependency"
|
|
|
|
build_targets:
|
|
|
|
- "//cc/..."
|
2024-09-06 18:14:48 +00:00
|
|
|
ubuntu_rule_based_toolchains:
|
2024-09-09 15:39:54 +00:00
|
|
|
name: Ubuntu rule-based toolchains
|
2024-09-06 18:14:48 +00:00
|
|
|
platform: ubuntu1804
|
|
|
|
working_directory: examples/rule_based_toolchain
|
|
|
|
build_flags:
|
|
|
|
- "--enable_bzlmod"
|
|
|
|
build_targets:
|
|
|
|
- "//..."
|
|
|
|
test_targets:
|
|
|
|
- "//..."
|