• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1build_targets: &build_targets
2  - "@boringssl//:crypto"
3  - "@boringssl//:ssl"
4
5matrix: &matrix
6  non_macos_platform:
7    - debian11
8    - ubuntu2204
9    - windows
10  bazel: [7.x]
11tasks:
12  verify_targets:
13    name: Verify build targets
14    platform: ${{ non_macos_platform }}
15    bazel: ${{ bazel }}
16    build_targets: *build_targets
17  # Work around https://github.com/bazelbuild/bazel/issues/10472
18  verify_targets_on_macos:
19    name: Verify build targets on macOS
20    platform: macos
21    bazel: ${{ bazel }}
22    build_targets: *build_targets
23    build_flags: &macos_workaround
24      - '--cxxopt=-std=c++17'
25      - '--sandbox_block_path=/usr/local'
26bcr_test_module:
27  module_path: util/bazel-example
28  matrix: *matrix
29  tasks:
30    run_test_module:
31      name: Run test module
32      platform: ${{ non_macos_platform }}
33      bazel: ${{ bazel }}
34      build_targets:
35        - //...
36    # Work around https://github.com/bazelbuild/bazel/issues/10472
37    run_test_module_on_macos:
38      name: Run test module on macOS
39      platform: macos
40      bazel: ${{ bazel }}
41      build_targets:
42        - //...
43      build_flags: *macos_workaround
44