@@ -75,6 +75,12 @@ default_windows_no_runfiles_targets: &default_windows_no_runfiles_targets
75
75
- " -//tools/runfiles/..."
76
76
# Runfiles used by the test only.
77
77
- " -//test/empty_suite:deps_test"
78
+ crate_universe_example_shell_commands : &crate_universe_example_shell_commands
79
+ - rm MODULE.bazel.lock
80
+ crate_universe_example_rbe_shell_commands : &crate_universe_example_rbe_shell_commands
81
+ - rm MODULE.bazel.lock
82
+ - sed -i 's/^# load("@bazel_ci_rules/load("@bazel_ci_rules/' WORKSPACE.bazel
83
+ - sed -i 's/^# rbe_preconfig/rbe_preconfig/' WORKSPACE.bazel
78
84
crate_universe_vendor_example_targets : &crate_universe_vendor_example_targets
79
85
- " //vendor_external:crates_vendor"
80
86
- " //vendor_local_manifests:crates_vendor"
@@ -435,6 +441,7 @@ tasks:
435
441
name : Crate Universe Examples
436
442
platform : ubuntu2004
437
443
working_directory : examples/crate_universe
444
+ shell_commands : *crate_universe_example_shell_commands
438
445
run_targets : *crate_universe_vendor_example_targets
439
446
build_targets :
440
447
- " //..."
@@ -445,9 +452,7 @@ tasks:
445
452
name : Crate Universe Examples
446
453
platform : rbe_ubuntu2004
447
454
working_directory : examples/crate_universe
448
- shell_commands :
449
- - sed -i 's/^# load("@bazel_ci_rules/load("@bazel_ci_rules/' WORKSPACE.bazel
450
- - sed -i 's/^# rbe_preconfig/rbe_preconfig/' WORKSPACE.bazel
455
+ shell_commands : *crate_universe_example_rbe_shell_commands
451
456
run_targets : *crate_universe_vendor_example_targets
452
457
build_targets :
453
458
- " --"
@@ -464,12 +469,25 @@ tasks:
464
469
name : Crate Universe Examples
465
470
platform : macos_arm64
466
471
working_directory : examples/crate_universe
472
+ shell_commands : *crate_universe_example_shell_commands
467
473
run_targets : *crate_universe_vendor_example_targets
474
+ build_flags : *aspects_flags
468
475
build_targets :
469
476
- " //..."
470
477
test_targets :
471
478
- " //..."
472
- build_flags : *aspects_flags
479
+ # See https://github.com/bazelbuild/rules_rust/issues/2186 about re-enabling these.
480
+ # crate_universe_examples_windows:
481
+ # name: Crate Universe Examples
482
+ # platform: windows
483
+ # working_directory: examples/crate_universe
484
+ # shell_commands: *crate_universe_example_shell_commands
485
+ # run_targets: *crate_universe_vendor_example_targets
486
+ # build_flags: *aspects_flags
487
+ # build_targets:
488
+ # - "//..."
489
+ # test_targets:
490
+ # - "//..."
473
491
crate_universe_local_path_external :
474
492
name : Crate Universe Local Path External
475
493
platform : ubuntu2004
@@ -498,17 +516,6 @@ tasks:
498
516
working_directory : examples/crate_universe_local_path
499
517
run_targets :
500
518
- " //:vendor_edit_test_in_tree"
501
- # See https://github.com/bazelbuild/rules_rust/issues/2186 about re-enabling these.
502
- # crate_universe_examples_windows:
503
- # name: Crate Universe Examples
504
- # platform: windows
505
- # working_directory: examples/crate_universe
506
- # run_targets: *crate_universe_vendor_example_targets
507
- # build_flags: *aspects_flags
508
- # build_targets:
509
- # - "//..."
510
- # test_targets:
511
- # - "//..."
512
519
cc_common_link_ubuntu2004 :
513
520
name : Build via cc_common.link
514
521
platform : ubuntu2004
0 commit comments