@@ -140,136 +140,6 @@ wait_step() {
140
140
}
141
141
142
142
all_test_steps () {
143
- command_step checks " . ci/rust-version.sh; ci/docker-run.sh \$\$ rust_nightly_docker_image ci/test-checks.sh" 20 check
144
- wait_step
145
-
146
- # Full test suite
147
- .buildkite/scripts/build-stable.sh >> " $output_file "
148
-
149
- # Docs tests
150
- if affects \
151
- .rs$ \
152
- ^ci/rust-version.sh \
153
- ^ci/test-docs.sh \
154
- ; then
155
- command_step doctest " ci/test-docs.sh" 15
156
- else
157
- annotate --style info --context test-docs \
158
- " Docs skipped as no .rs files were modified"
159
- fi
160
- wait_step
161
-
162
- # SBF test suite
163
- if affects \
164
- .rs$ \
165
- Cargo.lock$ \
166
- Cargo.toml$ \
167
- ^ci/rust-version.sh \
168
- ^ci/test-stable-sbf.sh \
169
- ^ci/test-stable.sh \
170
- ^ci/test-local-cluster.sh \
171
- ^core/build.rs \
172
- ^fetch-perf-libs.sh \
173
- ^programs/ \
174
- ^sdk/ \
175
- cargo-build-bpf$ \
176
- cargo-test-bpf$ \
177
- cargo-build-sbf$ \
178
- cargo-test-sbf$ \
179
- ; then
180
- cat >> " $output_file " << "EOF "
181
- - command: "ci/test-stable-sbf.sh"
182
- name: "stable-sbf"
183
- timeout_in_minutes: 35
184
- artifact_paths: "sbf-dumps.tar.bz2"
185
- agents:
186
- queue: "solana"
187
- EOF
188
- else
189
- annotate --style info \
190
- " Stable-SBF skipped as no relevant files were modified"
191
- fi
192
-
193
- # Perf test suite
194
- if affects \
195
- .rs$ \
196
- Cargo.lock$ \
197
- Cargo.toml$ \
198
- ^ci/rust-version.sh \
199
- ^ci/test-stable-perf.sh \
200
- ^ci/test-stable.sh \
201
- ^ci/test-local-cluster.sh \
202
- ^core/build.rs \
203
- ^fetch-perf-libs.sh \
204
- ^programs/ \
205
- ^sdk/ \
206
- ; then
207
- cat >> " $output_file " << "EOF "
208
- - command: "ci/test-stable-perf.sh"
209
- name: "stable-perf"
210
- timeout_in_minutes: 35
211
- artifact_paths: "log-*.txt"
212
- agents:
213
- queue: "cuda"
214
- EOF
215
- else
216
- annotate --style info \
217
- " Stable-perf skipped as no relevant files were modified"
218
- fi
219
-
220
- # Downstream backwards compatibility
221
- if affects \
222
- .rs$ \
223
- Cargo.lock$ \
224
- Cargo.toml$ \
225
- ^ci/rust-version.sh \
226
- ^ci/test-stable-perf.sh \
227
- ^ci/test-stable.sh \
228
- ^ci/test-local-cluster.sh \
229
- ^core/build.rs \
230
- ^fetch-perf-libs.sh \
231
- ^programs/ \
232
- ^sdk/ \
233
- cargo-build-bpf$ \
234
- cargo-test-bpf$ \
235
- cargo-build-sbf$ \
236
- cargo-test-sbf$ \
237
- ^ci/downstream-projects \
238
- .buildkite/scripts/build-downstream-projects.sh \
239
- ; then
240
- .buildkite/scripts/build-downstream-projects.sh >> " $output_file "
241
- else
242
- annotate --style info \
243
- " downstream-projects skipped as no relevant files were modified"
244
- fi
245
-
246
- # Wasm support
247
- if affects \
248
- ^ci/test-wasm.sh \
249
- ^ci/test-stable.sh \
250
- ^sdk/ \
251
- ; then
252
- command_step wasm " . ci/rust-version.sh; ci/docker-run.sh \$\$ rust_stable_docker_image ci/test-wasm.sh" 20
253
- else
254
- annotate --style info \
255
- " wasm skipped as no relevant files were modified"
256
- fi
257
-
258
- # Benches...
259
- if affects \
260
- .rs$ \
261
- Cargo.lock$ \
262
- Cargo.toml$ \
263
- ^ci/rust-version.sh \
264
- ^ci/test-coverage.sh \
265
- ^ci/test-bench.sh \
266
- ; then
267
- .buildkite/scripts/build-bench.sh >> " $output_file "
268
- else
269
- annotate --style info --context test-bench \
270
- " Bench skipped as no .rs files were modified"
271
- fi
272
-
273
143
# Coverage...
274
144
if affects \
275
145
.rs$ \
0 commit comments