blob: 0b162500f190d72d2c1084fb76b375efa0311a9c [file] [log] [blame]
matrix:
platform:
# Disable platforms that do not support c++20 or have a new enough gcc (>11)
# - debian10
# - debian11
# - ubuntu2004
# - ubuntu2004_arm64
# MacOS is not yet supported.
# - macos
# - macos_arm64
# Windows is not yet supported.
# - windows
- ubuntu2204
- ubuntu2404
bazel:
- 7.x
- 8.x
- rolling
tasks:
verify_targets:
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++20'
- '--host_cxxopt=-std=c++20'
# Disable spammy warnings in external dependencies to make build output readable.
- '--per_file_copt=external/.*@-w'
- '--host_per_file_copt=external/.*@-w'
test_flags:
- '--cxxopt=-std=c++20'
- '--host_cxxopt=-std=c++20'
# Disable spammy warnings in external dependencies to make build output readable.
- '--per_file_copt=external/.*@-w'
- '--host_per_file_copt=external/.*@-w'
build_targets:
- '@folly//...'
test_targets:
- '@folly//...'