matrix:
  platform:
    - macos
    #- windows  # Blocked by https://github.com/bazelbuild/bazel/issues/18683
  bazel:
    - 7.x
    - 8.x

tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_flags:
      - "--cxxopt=-std=c++17"
      - "--host_cxxopt=-std=c++17"
      - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
    build_targets:
      - "@rules_proto_grpc_swift//..."
