matrix:
  linux_platform: ["debian10", "ubuntu2004"]
  osx_platform: ["macos", "macos_arm64"]
  bazel: ["7.x", "6.x"]

tasks:
  verify_linux_targets:
    name: Verify linux build and test targets
    platform: ${{ linux_platform }}
    shell_commands:
    - sudo apt-get update
    - sudo apt-get install cmake -y
    bazel: ${{ bazel }}
    build_targets:
    - '@opentracing-cpp//:opentracing'
  verify_osx_targets:
    name: Verify osx build and test targets
    platform: ${{ osx_platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@opentracing-cpp//:opentracing'
