123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- group: windows tests
- sort_key: "~windows"
- steps:
- # block on premerge and microcheck
- - block: "run windows tests"
- if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
- - name: windowsbuild
- wanda: ci/docker/windows.build.wanda.yaml
- instance_type: builder-windows
- - label: ":windows: wheel {{matrix}}"
- # we have linux/mac wheels tag, but do not have a windows wheels tag..
- # so using python and core_cpp here, to make sure at least it builds
- key: windows_wheels
- tags:
- - oss
- - python
- - core_cpp
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:build_in_docker_windows -- wheel --python-version {{matrix}} --operating-system windows --upload
- matrix:
- - "3.9"
- - "3.10"
- - "3.11"
- - "3.12"
- depends_on: windowsbuild
- - label: ":ray: core: :windows: cpp tests"
- tags: core_cpp
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //:all //src/... core
- --build-name windowsbuild
- --operating-system windows
- --except-tags no_windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- --parallelism-per-worker 2
- depends_on: windowsbuild
- - label: ":ray: core: :windows: python tests"
- tags: python
- job_env: WINDOWS
- instance_type: windows
- parallelism: 5
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
- --build-name windowsbuild
- --operating-system windows
- --except-tags no_windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 2
- depends_on: windowsbuild
- - label: ":serverless: serverless: :windows: tests"
- tags: python
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
- --build-name windowsbuild
- --operating-system windows
- --except-tags no_windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- --parallelism-per-worker 3
- depends_on: windowsbuild
- - label: ":ray-serve: serve: :windows: tests"
- tags: serve
- job_env: WINDOWS
- instance_type: windows
- parallelism: 2
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
- --build-name windowsbuild
- --operating-system windows
- --except-tags no_windows,use_all_core_windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- --workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
- depends_on: windowsbuild
- - label: ":ray-serve: serve: :windows: enormous tests"
- tags: serve
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
- --build-name windowsbuild
- --operating-system windows
- --only-tags use_all_core_windows
- --except-tags no_windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- depends_on: windowsbuild
- - label: ":train: ml: :windows: tests"
- tags:
- - train
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/train:test_windows ml
- --build-name windowsbuild
- --operating-system windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- depends_on: windowsbuild
- - label: "flaky :windows: core tests"
- key: windows_core_flaky_tests
- tags: skip-on-premerge
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //:all //src/... //python/ray/tests/... core
- --run-flaky-tests
- --except-tags no_windows
- --build-name windowsbuild
- --operating-system windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- depends_on: windowsbuild
- soft_fail: true
- - label: "flaky :windows: serverless tests"
- key: windows_serverless_flaky_tests
- tags: skip-on-premerge
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
- --except-tags no_windows
- --run-flaky-tests
- --build-name windowsbuild
- --operating-system windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- depends_on: windowsbuild
- soft_fail: true
- - label: "flaky :windows: serve tests"
- key: windows_serve_flaky_tests
- tags: skip-on-premerge
- job_env: WINDOWS
- instance_type: windows
- commands:
- - bash ci/ray_ci/windows/install_tools.sh
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/serve/... serve
- --except-tags no_windows
- --run-flaky-tests
- --build-name windowsbuild
- --operating-system windows
- --test-env=CI="1"
- --test-env=RAY_CI_POST_WHEEL_TESTS="1"
- --test-env=USERPROFILE
- depends_on: windowsbuild
- soft_fail: true
|