matrix:
  platform:
    - debian10
    - debian11
    - macos
    - macos_arm64
    - ubuntu2004
    - ubuntu2204
    - windows
  bazel: [7.x, 8.x] 

tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
    - '@geometry-central//:numerical'
    - '@geometry-central//:surface'
    - '@geometry-central//:pointcloud'
    - '@geometry-central//:utilities'

bcr_test_module:
  module_path: "."
  matrix:
    platform: ["ubuntu2204", "macos"]
    bazel: ["7.x", "8.x"]
  tasks:
    run_test_module:
      name: Run test module
      platform: ${{ platform }}
      bazel: ${{ bazel }}
      test_targets:
      - '@geometry-central//test:tests_without_assets'