matrix:
  platform:
  - debian11
  - ubuntu2004
  - ubuntu2204
  - macos
  - macos_arm64
  - windows
  bazel:
  - 7.x
tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@curl//:curl'

  verify_targets_mbedtls:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@curl//:curl'
    build_flags:
    - '--@curl//:use_mbedtls=true'

  verify_targets_http_only_disabled:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@curl//:curl'
    build_flags:
    - '--@curl//:http_only=false'
