matrix:
  platform:
  - ubuntu2204
  - ubuntu2004
  - windows
  bazel: [6.x, 7.x]

tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@wheelos_common_msgs//common_msgs/basic_msgs:all'
    - '@wheelos_common_msgs//common_msgs/chassis_msgs:all'
    - '@wheelos_common_msgs//common_msgs/config_msgs:all'
    - '@wheelos_common_msgs//common_msgs/sensor_msgs:all'

  verify_targets_macos:
    name: Verify build targets on MacOS
    platform: macos_arm64
    bazel: "7.x"
    build_targets:
    - '@wheelos_common_msgs//common_msgs/basic_msgs:all'
    - '@wheelos_common_msgs//common_msgs/chassis_msgs:all'
    - '@wheelos_common_msgs//common_msgs/config_msgs:all'
    - '@wheelos_common_msgs//common_msgs/sensor_msgs:all'
