windows.rayci.yml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. group: windows tests
  2. sort_key: "~windows"
  3. steps:
  4. # block on premerge and microcheck
  5. - block: "run windows tests"
  6. if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
  7. - name: windowsbuild
  8. wanda: ci/docker/windows.build.wanda.yaml
  9. instance_type: builder-windows
  10. - label: ":windows: wheel {{matrix}}"
  11. # we have linux/mac wheels tag, but do not have a windows wheels tag..
  12. # so using python and core_cpp here, to make sure at least it builds
  13. key: windows_wheels
  14. tags:
  15. - oss
  16. - python
  17. - core_cpp
  18. job_env: WINDOWS
  19. instance_type: windows
  20. commands:
  21. - bash ci/ray_ci/windows/install_tools.sh
  22. - bazel run //ci/ray_ci:build_in_docker_windows -- wheel --python-version {{matrix}} --operating-system windows --upload
  23. matrix:
  24. - "3.9"
  25. - "3.10"
  26. - "3.11"
  27. - "3.12"
  28. depends_on: windowsbuild
  29. - label: ":ray: core: :windows: cpp tests"
  30. tags: core_cpp
  31. job_env: WINDOWS
  32. instance_type: windows
  33. commands:
  34. - bash ci/ray_ci/windows/install_tools.sh
  35. - bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
  36. --build-name windowsbuild
  37. --operating-system windows
  38. --except-tags no_windows
  39. --test-env=CI="1"
  40. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  41. --test-env=USERPROFILE
  42. --parallelism-per-worker 2
  43. depends_on: windowsbuild
  44. - label: ":ray: core: :windows: python tests"
  45. tags: python
  46. job_env: WINDOWS
  47. instance_type: windows
  48. parallelism: 5
  49. commands:
  50. - bash ci/ray_ci/windows/install_tools.sh
  51. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
  52. --build-name windowsbuild
  53. --operating-system windows
  54. --except-tags no_windows
  55. --test-env=CI="1"
  56. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  57. --test-env=USERPROFILE
  58. --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 2
  59. depends_on: windowsbuild
  60. - label: ":serverless: serverless: :windows: tests"
  61. tags: python
  62. job_env: WINDOWS
  63. instance_type: windows
  64. commands:
  65. - bash ci/ray_ci/windows/install_tools.sh
  66. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
  67. --build-name windowsbuild
  68. --operating-system windows
  69. --except-tags no_windows
  70. --test-env=CI="1"
  71. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  72. --test-env=USERPROFILE
  73. --parallelism-per-worker 3
  74. depends_on: windowsbuild
  75. - label: ":ray-serve: serve: :windows: tests"
  76. tags: serve
  77. job_env: WINDOWS
  78. instance_type: windows
  79. parallelism: 2
  80. commands:
  81. - bash ci/ray_ci/windows/install_tools.sh
  82. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
  83. --build-name windowsbuild
  84. --operating-system windows
  85. --except-tags no_windows,use_all_core_windows
  86. --test-env=CI="1"
  87. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  88. --test-env=USERPROFILE
  89. --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
  90. depends_on: windowsbuild
  91. - label: ":ray-serve: serve: :windows: enormous tests"
  92. tags: serve
  93. job_env: WINDOWS
  94. instance_type: windows
  95. commands:
  96. - bash ci/ray_ci/windows/install_tools.sh
  97. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
  98. --build-name windowsbuild
  99. --operating-system windows
  100. --only-tags use_all_core_windows
  101. --except-tags no_windows
  102. --test-env=CI="1"
  103. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  104. --test-env=USERPROFILE
  105. depends_on: windowsbuild
  106. - label: ":train: ml: :windows: tests"
  107. tags:
  108. - train
  109. job_env: WINDOWS
  110. instance_type: windows
  111. commands:
  112. - bash ci/ray_ci/windows/install_tools.sh
  113. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/train:test_windows ml
  114. --build-name windowsbuild
  115. --operating-system windows
  116. --test-env=CI="1"
  117. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  118. --test-env=USERPROFILE
  119. depends_on: windowsbuild
  120. - label: "flaky :windows: core tests"
  121. key: windows_core_flaky_tests
  122. tags: skip-on-premerge
  123. job_env: WINDOWS
  124. instance_type: windows
  125. commands:
  126. - bash ci/ray_ci/windows/install_tools.sh
  127. - bazel run //ci/ray_ci:test_in_docker -- //:all //src/... //python/ray/tests/... core
  128. --run-flaky-tests
  129. --except-tags no_windows
  130. --build-name windowsbuild
  131. --operating-system windows
  132. --test-env=CI="1"
  133. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  134. --test-env=USERPROFILE
  135. depends_on: windowsbuild
  136. soft_fail: true
  137. - label: "flaky :windows: serverless tests"
  138. key: windows_serverless_flaky_tests
  139. tags: skip-on-premerge
  140. job_env: WINDOWS
  141. instance_type: windows
  142. commands:
  143. - bash ci/ray_ci/windows/install_tools.sh
  144. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
  145. --except-tags no_windows
  146. --run-flaky-tests
  147. --build-name windowsbuild
  148. --operating-system windows
  149. --test-env=CI="1"
  150. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  151. --test-env=USERPROFILE
  152. depends_on: windowsbuild
  153. soft_fail: true
  154. - label: "flaky :windows: serve tests"
  155. key: windows_serve_flaky_tests
  156. tags: skip-on-premerge
  157. job_env: WINDOWS
  158. instance_type: windows
  159. commands:
  160. - bash ci/ray_ci/windows/install_tools.sh
  161. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
  162. --except-tags no_windows
  163. --run-flaky-tests
  164. --build-name windowsbuild
  165. --operating-system windows
  166. --test-env=CI="1"
  167. --test-env=RAY_CI_POST_WHEEL_TESTS="1"
  168. --test-env=USERPROFILE
  169. depends_on: windowsbuild
  170. soft_fail: true