matrix:
  platform:
  - centos7
  - debian10
  - ubuntu2004
  - macos
  - 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:
    - '@capnp-cpp//src/capnp:capnp'
    - '@capnp-cpp//src/capnp:capnp-rpc'
    - '@capnp-cpp//src/capnp:capnpc'
    - '@capnp-cpp//src/capnp:capnp_tool'
    - '@capnp-cpp//src/capnp:capnpc-c++'
    - '@capnp-cpp//src/capnp:capnpc-capnp'
    - '@capnp-cpp//src/capnp:capnp_runtime'

