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