matrix:
  platform:
    - debian11
    - ubuntu2004
    - ubuntu2204
    - ubuntu2404
  # Tests don't all pass out of the box on Windows and Mac, skip them for now.
  build_only_platform:
    - macos
    - macos_arm64
    - windows
  bazel: [7.x, 8.x, rolling]
tasks:
  verify_targets:
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
      - "@exprtk//:exprtk"
    test_targets:
      - "@exprtk//:exprtk_test"
  verify_targets_build_only:
    platform: ${{ build_only_platform }}
    bazel: ${{ bazel }}
    build_targets:
      - "@exprtk//:exprtk"
