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

tasks:
  verify_windows_targets:
    name: Verify windows build and test targets
    platform: windows
    bazel: ${{ bazel }}
    build_targets:
    - '@implot//...'
  verify_linux_targets:
    name: Verify linux build and test targets
    platform: ${{ linux_platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@implot//...'
  verify_osx_targets:
    name: Verify osx build and test targets
    platform: ${{ osx_platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@implot//...'
    build_flags:
    - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"