65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
---
|
|
tasks:
|
|
ubuntu1804:
|
|
name: "Ubuntu 18.04"
|
|
platform: ubuntu1804
|
|
build_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=-Werror"
|
|
build_targets:
|
|
- "//..."
|
|
test_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=-Werror"
|
|
test_targets:
|
|
- "//..."
|
|
macos:
|
|
name: "macOS: latest Xcode"
|
|
platform: macos
|
|
build_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=-Werror"
|
|
build_targets:
|
|
- "//..."
|
|
test_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=-Werror"
|
|
test_targets:
|
|
- "//..."
|
|
windows-msvc:
|
|
name: "Windows: MSVC 2017"
|
|
platform: windows
|
|
environment:
|
|
BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
|
|
build_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=/WX"
|
|
build_targets:
|
|
- "//..."
|
|
test_flags:
|
|
- "--features=layering_check"
|
|
- "--copt=/WX"
|
|
test_targets:
|
|
- "//..."
|
|
windows-clang-cl:
|
|
name: "Windows: Clang"
|
|
platform: windows
|
|
environment:
|
|
BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
|
|
build_flags:
|
|
- "--incompatible_enable_cc_toolchain_resolution"
|
|
- "--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl"
|
|
- "--extra_execution_platforms=//:x64_windows-clang-cl"
|
|
- "--features=layering_check"
|
|
- "--copt=-Wno-macro-redefined"
|
|
build_targets:
|
|
- "//..."
|
|
test_flags:
|
|
- "--incompatible_enable_cc_toolchain_resolution"
|
|
- "--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl"
|
|
- "--extra_execution_platforms=//:x64_windows-clang-cl"
|
|
- "--features=layering_check"
|
|
- "--copt=-Wno-macro-redefined"
|
|
test_targets:
|
|
- "//..."
|