matrix:
  platform:
    - debian10
    - ubuntu2004
    - macos
tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    build_targets:
      - '@claro-lang//src/java/com/claro:claro_compiler_binary'
      - '@claro-lang//src/java/com/claro/stdlib/claro/files:files'
      - '@claro-lang//src/java/com/claro/stdlib/claro/futures:futures'
      - '@claro-lang//src/java/com/claro/stdlib/claro/http:http'
      - '@claro-lang//src/java/com/claro/stdlib/claro/lists:lists'
      - '@claro-lang//src/java/com/claro/stdlib/claro/maps:maps'
      - '@claro-lang//src/java/com/claro/stdlib/claro/sets:sets'
bcr_test_module:
  module_path: examples/bzlmod
  matrix:
    platform:
      - debian10
      - ubuntu2004
      - macos
  tasks:
    run_test_module:
      name: Run test module
      platform: ${{ platform }}
      build_targets:
        - '//hello_world:hello_world_binary'
