matrix:
  platform:
  - ubuntu2004
  - macos
  # Disabled due to https://github.com/bazel-contrib/rules_foreign_cc/issues/1305.
  # rules_foreign_cc is transitively pulled in through libzmq.
  # - 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:
    - '@gz-sim'
