matrix:
  platform:
  - ubuntu2004
  - macos
  - macos_arm64
  bazel:
  - 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:
    - "@roboticslibrary.rl//:*"
bcr_test_module:
  module_path: .
  matrix:
    platform:
    - ubuntu2004
    - macos
    - macos_arm64
    bazel:
    - 7.x
  tasks:
    run_test_module:
      name: Run test module
      platform: ${{ platform }}
      bazel: ${{ bazel }}
      build_flags:
      - '--cxxopt=-std=c++17'
      - '--host_cxxopt=-std=c++17'
      test_flags:
      - '--cxxopt=-std=c++17'
      - '--host_cxxopt=-std=c++17'
      build_targets:
      - "@roboticslibrary.rl//:*"
      test_targets:
      - "@roboticslibrary.rl//:*"
