fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
c07cb1b5
main
1bcr_test_module : 2module_path : "" 3matrix : 4platform : [ "macos_arm64" , "ubuntu2004" ] 5bazel : [ "7.x" ] 6tasks : 7run_tests : 8working_directory : examples/bzlmod/hello_world 9name : "Run test module" 10platform : ${{ platform }} 11bazel : ${{ bazel }} 12# Remove the lockfile because we generate on Bazel 7, but test on Bazel 6 which may not be able to parse a future-generated lockfile. 13shell_commands : 14- "rm MODULE.bazel.lock" 15run_targets : 16- "//third-party-in-workspace:vendor" 17- "@rules_rust//tools/rust_analyzer:gen_rust_project" 18test_targets : 19- "//..." 20# Windows is run separately because currently gen_rust_project doesn't run on windows, although it does build 21bcr_test_module_windows : 22module_path : "" 23matrix : 24bazel : [ "7.x" ] 25tasks : 26run_tests : 27working_directory : examples/bzlmod/hello_world 28name : "Run test module" 29platform : windows 30bazel : ${{ bazel }} 31# Remove the lockfile because we generate on Bazel 7, but test on Bazel 6 which may not be able to parse a future-generated lockfile. 32shell_commands : 33- "rm MODULE.bazel.lock" 34run_targets : 35- "//third-party-in-workspace:vendor" 36build_targets : 37- "@rules_rust//tools/rust_analyzer:gen_rust_project" 38test_targets : 39- "//..."