|
2 | 2 | aspects_flags: &aspects_flags
|
3 | 3 | - "--config=rustfmt"
|
4 | 4 | - "--config=clippy"
|
| 5 | +min_rust_version_shell_commands: &min_rust_version_shell_commands |
| 6 | + - sed -i 's|^rust_register_toolchains(|rust_register_toolchains(versions = ["1.59.0"],\n|' WORKSPACE.bazel |
| 7 | +single_rust_channel_targets: &single_rust_channel_targets |
| 8 | + - "--" |
| 9 | + - "//..." |
| 10 | + # These tests are expected to fail as they require both a nightly and stable toolchain. |
| 11 | + - "-//test/unit/channel_transitions/..." |
5 | 12 | default_linux_targets: &default_linux_targets
|
6 | 13 | - "//..."
|
7 | 14 | default_macos_targets: &default_macos_targets
|
@@ -202,6 +209,19 @@ tasks:
|
202 | 209 | build_targets: *default_linux_targets
|
203 | 210 | test_targets: *default_linux_targets
|
204 | 211 | build_flags: *aspects_flags
|
| 212 | + ubuntu2004_min_rust_version: |
| 213 | + name: "Min Rust Version" |
| 214 | + platform: ubuntu2004 |
| 215 | + shell_commands: *min_rust_version_shell_commands |
| 216 | + build_targets: *single_rust_channel_targets |
| 217 | + test_targets: *single_rust_channel_targets |
| 218 | + ubuntu2004_min_rust_version_with_aspects: |
| 219 | + name: "Min Rust Version With Aspects" |
| 220 | + platform: ubuntu2004 |
| 221 | + shell_commands: *min_rust_version_shell_commands |
| 222 | + build_targets: *single_rust_channel_targets |
| 223 | + test_targets: *single_rust_channel_targets |
| 224 | + build_flags: *aspects_flags |
205 | 225 | ubuntu2004_rolling_with_aspects:
|
206 | 226 | name: "Rolling Bazel Version With Aspects"
|
207 | 227 | bazel: "rolling"
|
|
0 commit comments