matrix:
  bazel: ["7.x"]
  unix_platform: ["macos", "macos_arm64", "ubuntu2204", "debian11"]

tasks:
  unix_test:
    platform: ${{ unix_platform }}
    bazel: ${{ bazel }}
    build_flags:
    - --cxxopt=-std=c++20
    build_targets:
      - '@ada-url//:ada'
  windows_test:
    platform: "windows"
    bazel: ${{ bazel }}
    build_flags:
    - --cxxopt=/std:c++20
    build_targets:
      - '@ada-url//:ada'
