matrix:
  platform:
  - debian11
  - ubuntu2204
  - macos
  - macos_arm64
  bazel:
  - 8.x
  - 7.x
tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_flags:
    - '--cxxopt=-std=c++17'
    - '--host_cxxopt=-std=c++17'
    build_targets:
    - '@dartsim//:dart-all'
    - '@dartsim//:dart-collision'
    - '@dartsim//:dart-collision-bullet'
    - '@dartsim//:dart-collision-core'
    - '@dartsim//:dart-collision-dart'
    - '@dartsim//:dart-collision-fcl'
    - '@dartsim//:dart-collision-ode'
    - '@dartsim//:dart-common'
    - '@dartsim//:dart-config'
    - '@dartsim//:dart-constraint'
    - '@dartsim//:dart-dynamics'
    - '@dartsim//:dart-external'
    - '@dartsim//:dart-integration'
    - '@dartsim//:dart-lcpsolver'
    - '@dartsim//:dart-math'
    - '@dartsim//:dart-optimizer'
    - '@dartsim//:dart-simulation'
    - '@dartsim//:dart-utils'
