presubmit.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ---
  2. tasks:
  3. ubuntu1804:
  4. name: "Ubuntu 18.04"
  5. platform: ubuntu1804
  6. build_flags:
  7. - "--features=layering_check"
  8. - "--copt=-Werror"
  9. build_targets:
  10. - "//..."
  11. test_flags:
  12. - "--features=layering_check"
  13. - "--copt=-Werror"
  14. test_targets:
  15. - "//..."
  16. macos:
  17. name: "macOS: latest Xcode"
  18. platform: macos
  19. build_flags:
  20. - "--features=layering_check"
  21. - "--copt=-Werror"
  22. build_targets:
  23. - "//..."
  24. test_flags:
  25. - "--features=layering_check"
  26. - "--copt=-Werror"
  27. test_targets:
  28. - "//..."
  29. windows-msvc:
  30. name: "Windows: MSVC 2017"
  31. platform: windows
  32. environment:
  33. BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
  34. build_flags:
  35. - "--features=layering_check"
  36. - "--copt=/WX"
  37. build_targets:
  38. - "//..."
  39. test_flags:
  40. - "--features=layering_check"
  41. - "--copt=/WX"
  42. test_targets:
  43. - "//..."
  44. windows-clang-cl:
  45. name: "Windows: Clang"
  46. platform: windows
  47. environment:
  48. BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC"
  49. build_flags:
  50. - "--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl"
  51. - "--extra_execution_platforms=//:x64_windows-clang-cl"
  52. - "--compiler=clang-cl"
  53. - "--features=layering_check"
  54. build_targets:
  55. - "//..."
  56. test_flags:
  57. - "--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl"
  58. - "--extra_execution_platforms=//:x64_windows-clang-cl"
  59. - "--compiler=clang-cl"
  60. - "--features=layering_check"
  61. test_targets:
  62. - "//..."