mirror of
https://github.com/clangd/clangd.git
synced 2025-04-16 05:42:15 +00:00
Expand path to grpc-installation directory
Weekly snapshot builds are failing because CMake couldn't find gRPC and Protobuf libraries. Expanding the path from relative to the full one solves the problem. Fixes: https://github.com/clangd/clangd/issues/641
This commit is contained in:
parent
ae38d57cb9
commit
ebde6ecac4
6
.github/workflows/autobuild.yaml
vendored
6
.github/workflows/autobuild.yaml
vendored
@ -109,13 +109,13 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Build gRPC
|
- name: Build gRPC
|
||||||
run: >
|
run: >
|
||||||
mkdir grpc-installation
|
mkdir $HOME/grpc-installation
|
||||||
|
|
||||||
mkdir grpc-build
|
mkdir grpc-build
|
||||||
|
|
||||||
cmake -G Ninja -S grpc -B grpc-build
|
cmake -G Ninja -S grpc -B grpc-build
|
||||||
"-DgRPC_INSTALL=ON"
|
"-DgRPC_INSTALL=ON"
|
||||||
"-DCMAKE_INSTALL_PREFIX=grpc-installation"
|
"-DCMAKE_INSTALL_PREFIX=$HOME/grpc-installation"
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
${{ matrix.config.grpc_cmake }}
|
${{ matrix.config.grpc_cmake }}
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ jobs:
|
|||||||
"-DCMAKE_C_FLAGS_RELEASE=${{ matrix.config.cflags }}"
|
"-DCMAKE_C_FLAGS_RELEASE=${{ matrix.config.cflags }}"
|
||||||
"-DCMAKE_CXX_FLAGS_RELEASE=${{ matrix.config.cflags }}"
|
"-DCMAKE_CXX_FLAGS_RELEASE=${{ matrix.config.cflags }}"
|
||||||
"-DCLANGD_ENABLE_REMOTE=ON"
|
"-DCLANGD_ENABLE_REMOTE=ON"
|
||||||
"-DGRPC_INSTALL_PATH=grpc-installation"
|
"-DGRPC_INSTALL_PATH=$HOME/grpc-installation"
|
||||||
${{ matrix.config.cmake }}
|
${{ matrix.config.cmake }}
|
||||||
- name: Ninja
|
- name: Ninja
|
||||||
run: ninja -C ${{ env.CLANGD_DIR }} clangd clangd-indexer clangd-index-server
|
run: ninja -C ${{ env.CLANGD_DIR }} clangd clangd-indexer clangd-index-server
|
||||||
|
Loading…
Reference in New Issue
Block a user