Skip to content

Commit 4d0d1a4

Browse files
committed
Single channel tests
1 parent 391a9f5 commit 4d0d1a4

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.bazelci/presubmit.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ tasks:
229229
test_targets: *single_rust_channel_targets
230230
build_flags: *aspects_flags
231231
ubuntu2004_nightly_toolchain:
232-
name: "Nightly Toolchain"
232+
name: "Only Nightly Toolchain"
233233
platform: ubuntu2004
234234
# Test rules while only registering a nightly toolchain
235235
shell_commands:
@@ -238,14 +238,31 @@ tasks:
238238
build_targets: *single_rust_channel_targets
239239
test_targets: *single_rust_channel_targets
240240
ubuntu2004_nightly_with_aspects:
241-
name: "Nightly Toolchain With Aspects"
241+
name: "Only Nightly Toolchain With Aspects"
242242
platform: ubuntu2004
243243
# Test rules while only registering a nightly toolchain
244244
shell_commands:
245245
- sed -i 's|^rust_register_toolchains(|load("//rust/private:common.bzl", "DEFAULT_NIGHTLY_ISO_DATE")\nrust_register_toolchains(versions = ["nightly/" + DEFAULT_NIGHTLY_ISO_DATE],\n|' WORKSPACE.bazel
246246
build_flags: *nightly_aspects_flags
247247
build_targets: *single_rust_channel_targets
248248
test_targets: *single_rust_channel_targets
249+
ubuntu2004_stable_toolchain:
250+
name: "Only Stable Toolchain"
251+
platform: ubuntu2004
252+
# Test rules while only registering a nightly toolchain
253+
shell_commands:
254+
- sed -i 's|^rust_register_toolchains(|load("//rust/private:common.bzl", "DEFAULT_RUST_VERSION")\nrust_register_toolchains(versions = [DEFAULT_RUST_VERSION],\n|' WORKSPACE.bazel
255+
build_targets: *single_rust_channel_targets
256+
test_targets: *single_rust_channel_targets
257+
ubuntu2004_stable_with_aspects:
258+
name: "Only Stable Toolchain With Aspects"
259+
platform: ubuntu2004
260+
# Test rules while only registering a nightly toolchain
261+
shell_commands:
262+
- sed -i 's|^rust_register_toolchains(|load("//rust/private:common.bzl", "DEFAULT_RUST_VERSION")\nrust_register_toolchains(versions = [DEFAULT_RUST_VERSION],\n|' WORKSPACE.bazel
263+
build_flags: *aspects_flags
264+
build_targets: *single_rust_channel_targets
265+
test_targets: *single_rust_channel_targets
249266
ubuntu2004_rolling_with_aspects:
250267
name: "Rolling Bazel Version With Aspects"
251268
bazel: "rolling"

0 commit comments

Comments
 (0)