chore: add Linux CI package list and update gRPC CMake configuration
- Introduced a new file for Linux CI package dependencies to streamline the installation process. - Updated gRPC CMake configuration to disable C++ reflection support, reducing unnecessary proto generation. Benefits: - Enhances the CI workflow by clearly defining required packages for Linux builds. - Improves build efficiency by avoiding extra generation steps in gRPC integration.
This commit is contained in:
26
.github/workflows/scripts/linux-ci-packages.txt
vendored
Normal file
26
.github/workflows/scripts/linux-ci-packages.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
build-essential
|
||||
ninja-build
|
||||
pkg-config
|
||||
ccache
|
||||
libglew-dev
|
||||
libxext-dev
|
||||
libwavpack-dev
|
||||
libboost-all-dev
|
||||
libpng-dev
|
||||
python3-dev
|
||||
libasound2-dev
|
||||
libpulse-dev
|
||||
libaudio-dev
|
||||
libx11-dev
|
||||
libxrandr-dev
|
||||
libxcursor-dev
|
||||
libxinerama-dev
|
||||
libxi-dev
|
||||
libxss-dev
|
||||
libxxf86vm-dev
|
||||
libxkbcommon-dev
|
||||
libwayland-dev
|
||||
libdecor-0-dev
|
||||
libgtk-3-dev
|
||||
libdbus-1-dev
|
||||
libgtk-3-0
|
||||
@@ -36,7 +36,9 @@ set(gRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN OFF CACHE BOOL "" FORCE)
|
||||
set(gRPC_BUILD_GRPC_PHP_PLUGIN OFF CACHE BOOL "" FORCE)
|
||||
set(gRPC_BUILD_GRPC_PYTHON_PLUGIN OFF CACHE BOOL "" FORCE)
|
||||
set(gRPC_BUILD_GRPC_RUBY_PLUGIN OFF CACHE BOOL "" FORCE)
|
||||
# Disable C++ reflection support (avoids extra proto generation)
|
||||
set(gRPC_BUILD_GRPC_CPP_REFLECTION OFF CACHE BOOL "" FORCE)
|
||||
set(gRPC_BUILD_GRPCPP_REFLECTION OFF CACHE BOOL "" FORCE)
|
||||
|
||||
set(gRPC_BENCHMARK_PROVIDER "none" CACHE STRING "" FORCE)
|
||||
set(gRPC_ZLIB_PROVIDER "package" CACHE STRING "" FORCE)
|
||||
|
||||
Reference in New Issue
Block a user