matrix:
  bazel:
  - 8.x
  unix_platform:
  - debian11
  - ubuntu2404
  - macos
  windows_platform:
  - windows
tasks:
  unix_presubmit:
    name: Unix Presubmit
    platform: ${{ unix_platform }}
    bazel: ${{ bazel }}
    build_flags:
    - '--cxxopt=-std=c++17'
    build_targets:
    - '@abseil-cpp//absl/strings'
    - '@abseil-cpp//absl/flags:flag'
  windows_presubmit:
    name: Windows Presubmit
    platform: ${{ windows_platform }}
    bazel: ${{ bazel }}
    build_flags:
    - '--cxxopt=/std:c++17'
    build_targets:
    - '@abseil-cpp//absl/strings'
    - '@abseil-cpp//absl/flags:flag'
