aboutsummaryrefslogtreecommitdiff
path: root/.bcr/presubmit.yml
blob: 7030f6ee7229006dca6291a96e623964bb1b8c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
bcr_test_module:
  module_path: ""
  matrix:
    platform: ["macos", "ubuntu2004"]
    bazel: ["6.x", "7.x"]
  tasks:
    run_tests:
      working_directory: examples/bzlmod/hello_world
      name: "Run test module"
      platform: ${{ platform }}
      bazel: ${{ bazel }}
      run_targets:
        - "//third-party:vendor"
        - "@rules_rust//tools/rust_analyzer:gen_rust_project"
      test_targets:
        - "//..."
# Windows is run separately because currently gen_rust_project doesn't run on windows, although it does build
bcr_test_module_windows:
  module_path: ""
  matrix:
    bazel: ["6.x", "7.x"]
  tasks:
    run_tests:
      working_directory: examples/bzlmod/hello_world
      name: "Run test module"
      platform: windows
      bazel: ${{ bazel }}
      run_targets:
        - "//third-party:vendor"
      build_targets:
        - "@rules_rust//tools/rust_analyzer:gen_rust_project"
      test_targets:
        - "//..."