matrix:
  bazel:
  - 8.x
  linux_platform:
  - debian11
  - ubuntu2404
  macos_platform:
  - macos
  windows_platform:
  - windows
tasks:
  linux_presubmit:
    name: Linux Presubmit
    platform: ${{ linux_platform }}
    bazel: ${{ bazel }}
    test_targets:
    - '@libevent//...'
  macos_presubmit:
    name: macOS Presubmit
    platform: ${{ macos_platform }}
    bazel: ${{ bazel }}
    test_flags:
    - '--build_tag_filters=-no_macos'
    - '--test_tag_filters=-no_macos'
    test_targets:
    - '@libevent//...'
  windows_presubmit:
    name: Windows Presubmit
    platform: ${{ windows_platform }}
    bazel: ${{ bazel }}
    # OpenSSL 3.3.1.bcr.1 does not support Windows.
    test_flags:
    - '--build_tag_filters=-requires_openssl'
    - '--test_tag_filters=-requires_openssl'
    test_targets:
    - '@libevent//...'
