| matrix: |
| unix_platform: |
| - debian11 |
| - ubuntu2004 |
| - ubuntu2204 |
| - ubuntu2404 |
| - macos |
| - macos_arm64 |
| windows_platform: |
| - windows |
| bazel: [7.x, 8.x, rolling] |
| tasks: |
| verify_targets_unix: |
| name: Unix |
| platform: ${{ unix_platform }} |
| bazel: ${{ bazel }} |
| # abseil-cpp (a dependency) requires C++17; Bazel 7.x defaults to |
| # -std=c++14 on the Linux/GCC autodetected toolchain, so force the |
| # standard explicitly. Mirrors abseil-cpp's own BCR presubmit. |
| build_flags: |
| - "--cxxopt=-std=c++17" |
| build_targets: |
| - "@clickhouse-cpp//:clickhouse" |
| verify_targets_windows: |
| name: Windows |
| platform: ${{ windows_platform }} |
| bazel: ${{ bazel }} |
| # MSVC spelling of the same C++17 requirement (see Unix task). |
| build_flags: |
| - "--cxxopt=/std:c++17" |
| build_targets: |
| - "@clickhouse-cpp//:clickhouse" |