matrix:
  platform:
    - debian10
    - ubuntu2004
    - ubuntu2004_arm64
    - debian11
    - macos
    - macos_arm64
    - ubuntu2204
    - ubuntu2404
    # 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'
    test_flags:
      - '--cxxopt=-std=c++17'
      - '--host_cxxopt=-std=c++17'
    build_targets:
      - '@minitrace//:minitrace'
      - '@minitrace//:minitrace_test'
      - '@minitrace//:minitrace_test_mt'
