matrix:
  platform:
  - debian11
  - ubuntu2404
  - macos
  - macos_arm64
  bazel: ["7.x", "8.x", "rolling"]
tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_flags:
    - '--compilation_mode=opt'
    - '--cxxopt=-std=c++17'
    - '--cxxopt=-Wno-sign-compare'
    - '--host_cxxopt=-std=c++17'
    - '--host_cxxopt=-Wno-sign-compare'
    build_targets:
    - '@or-tools//ortools/base:all'
    - '@or-tools//ortools/init:all'
    - '@or-tools//ortools/algorithms:all'
    - '@or-tools//ortools/graph:all'
    - '@or-tools//ortools/bop:all'
    - '@or-tools//ortools/constraint_solver:all'
    - '@or-tools//ortools/glop:all'
    - '@or-tools//ortools/linear_solver:all'
    - '@or-tools//ortools/math_opt:all'
    - '@or-tools//ortools/pdlp:all'
    - '@or-tools//ortools/sat:all'
