matrix:
  bazel:
    - 7.x
    - 8.x
    - 9.*
  unix_platform:
    - debian11
    - macos
    - macos_arm64
    - ubuntu2404
tasks:
  unix_test:
    platform: ${{ unix_platform }}
    bazel: ${{ bazel }}
    build_flags:
      - --cxxopt=-std=c++17
    build_targets:
      - '@openexr//:OpenEXR'
  windows_test:
    platform: "windows"
    bazel: ${{ bazel }}
    build_flags:
      - --cxxopt=/std:c++20
    build_targets:
      - '@openexr//:OpenEXR'
