matrix:
  platform:
    # Debian10 is too old for the current configuration.
    # - debian10
    - debian11
    # MacOS is not currently supported.
    # - macos
    # - macos_arm64
    - ubuntu2004
    - ubuntu2004_arm64
    - ubuntu2204
    - ubuntu2404
    # Windows is not currently supported.
    # - windows
  bazel:
    - 7.x
    - 8.x
    - rolling
tasks:
  verify_targets:
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_flags:
      - '--cxxopt=-std=c++17'
      - '--host_cxxopt=-std=c++17'
    build_targets:
      - '@iperf//:iperf3'
    test_targets:
      - '@iperf//...'
