forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows.rayci.yml
181 lines (170 loc) · 5.92 KB
/
windows.rayci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
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