feat: enable gRPC in CI builds and update Abseil dependencies

- Updated CI presets for Linux, macOS, and Windows to enable gRPC, improving build performance with caching.
- Adjusted Abseil inclusion logic to only include standalone Abseil when gRPC is disabled, ensuring compatibility and reducing unnecessary dependencies.
- Enhanced the list of exported Abseil targets from gRPC's bundled version for better utility access.

This change aims to streamline CI processes while maintaining the necessary dependencies for successful builds.
This commit is contained in:
scawful
2025-11-05 11:19:43 -05:00
parent a4a826274a
commit 27131ba449
3 changed files with 43 additions and 17 deletions

View File

@@ -131,45 +131,45 @@
"name": "ci-linux",
"inherits": "base",
"displayName": "CI Build - Linux",
"description": "Fast, reliable Linux CI build without gRPC",
"description": "CI build with gRPC enabled (uses caching for speed)",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"YAZE_BUILD_TESTS": "ON",
"YAZE_ENABLE_GRPC": "OFF",
"YAZE_ENABLE_GRPC": "ON",
"YAZE_ENABLE_JSON": "ON",
"YAZE_ENABLE_AI": "OFF",
"YAZE_ENABLE_ROM_TESTS": "OFF",
"YAZE_MINIMAL_BUILD": "ON"
"YAZE_MINIMAL_BUILD": "OFF"
}
},
{
"name": "ci-macos",
"inherits": "base",
"displayName": "CI Build - macOS",
"description": "Fast, reliable macOS CI build without gRPC",
"description": "CI build with gRPC enabled (uses caching for speed)",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"YAZE_BUILD_TESTS": "ON",
"YAZE_ENABLE_GRPC": "OFF",
"YAZE_ENABLE_GRPC": "ON",
"YAZE_ENABLE_JSON": "ON",
"YAZE_ENABLE_AI": "OFF",
"YAZE_ENABLE_ROM_TESTS": "OFF",
"YAZE_MINIMAL_BUILD": "ON"
"YAZE_MINIMAL_BUILD": "OFF"
}
},
{
"name": "ci-windows",
"inherits": "windows-base",
"displayName": "CI Build - Windows",
"description": "Fast, reliable Windows CI build without gRPC",
"description": "CI build with gRPC enabled (uses MSVC-compatible version 1.67.1)",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"YAZE_BUILD_TESTS": "ON",
"YAZE_ENABLE_GRPC": "OFF",
"YAZE_ENABLE_GRPC": "ON",
"YAZE_ENABLE_JSON": "ON",
"YAZE_ENABLE_AI": "OFF",
"YAZE_ENABLE_ROM_TESTS": "OFF",
"YAZE_MINIMAL_BUILD": "ON"
"YAZE_MINIMAL_BUILD": "OFF"
}
},
{