common:
  build_only: true
  tags:
    - thrift
    - cpp
  modules:
    - thrift
  filter: CONFIG_FULL_LIBC_SUPPORTED
  # qemu_x86 exluded due to missing long double functions in SDK
  # See https://github.com/zephyrproject-rtos/sdk-ng/issues/603
  platform_allow:
    - mps2/an385
    - qemu_cortex_a53
    - qemu_riscv32
    - qemu_riscv64
    - qemu_x86_64
  integration_platforms:
    - qemu_riscv64
tests:
  thrift.ThriftTest.binaryProtocol: {}
  thrift.ThriftTest.compactProtocol:
    extra_configs:
      - CONFIG_THRIFT_COMPACT_PROTOCOL=y
  thrift.ThriftTest.tlsTransport:
    extra_args: EXTRA_CONF_FILE="overlay-tls.conf"
