200 lines
6.1 KiB
YAML
200 lines
6.1 KiB
YAML
group: windows tests
|
|
sort_key: "~windows"
|
|
steps:
|
|
- name: windowsbuild
|
|
wanda: ci/docker/windows.build.wanda.yaml
|
|
instance_type: builder-windows
|
|
|
|
- label: ":ray: core: :windows: smoke test"
|
|
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
|
|
tags:
|
|
- core_cpp
|
|
- windows
|
|
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:test_basic core
|
|
--build-name windowsbuild
|
|
--operating-system windows
|
|
--except-tags no_windows
|
|
--test-env=CI="1"
|
|
--test-env=USERPROFILE
|
|
depends_on: windowsbuild
|
|
|
|
# block full test suite on premerge and microcheck
|
|
- block: "run windows tests"
|
|
key: block-windows-tests
|
|
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
|
|
depends_on: []
|
|
|
|
- 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
|
|
- core_python
|
|
- core_cpp
|
|
- release_wheels
|
|
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.10"
|
|
- "3.11"
|
|
- "3.12"
|
|
depends_on:
|
|
- windowsbuild
|
|
- block-windows-tests
|
|
|
|
- label: ":ray: core: :windows: cpp tests"
|
|
tags:
|
|
- core_cpp
|
|
- windows
|
|
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,cgroup
|
|
--test-env=CI="1"
|
|
--test-env=RAY_CI_POST_WHEEL_TESTS="1"
|
|
--test-env=USERPROFILE
|
|
--parallelism-per-worker 2
|
|
depends_on:
|
|
- windowsbuild
|
|
- block-windows-tests
|
|
|
|
- label: ":ray: core: :windows: python tests"
|
|
tags:
|
|
- core_python
|
|
- windows
|
|
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
|
|
- block-windows-tests
|
|
|
|
- label: ":ray-serve: serve: :windows: tests"
|
|
tags:
|
|
- serve
|
|
- windows
|
|
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 1
|
|
depends_on:
|
|
- windowsbuild
|
|
- block-windows-tests
|
|
|
|
- label: ":ray-serve: serve: :windows: enormous tests"
|
|
tags:
|
|
- serve
|
|
- windows
|
|
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
|
|
- block-windows-tests
|
|
|
|
- label: ":train: ml: :windows: tests"
|
|
tags:
|
|
- train
|
|
- windows
|
|
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
|
|
- block-windows-tests
|
|
|
|
- label: "flaky :windows: core tests"
|
|
key: windows_core_flaky_tests
|
|
tags:
|
|
- flaky
|
|
- windows
|
|
- skip-on-premerge
|
|
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 -- //: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
|
|
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}"
|
|
depends_on:
|
|
- windowsbuild
|
|
- block-windows-tests
|
|
soft_fail: true
|
|
|
|
- label: "flaky :windows: serve tests"
|
|
key: windows_serve_flaky_tests
|
|
tags:
|
|
- flaky
|
|
- windows
|
|
- 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
|
|
- block-windows-tests
|
|
soft_fail: true
|