Vendor protoc so the build needs no system protobuf compiler
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
The gRPC build script required a system protoc, which a fresh clone and the CI container lack (build failed with 'Could not find protoc'). Set PROTOC from protoc-bin-vendored in build.rs (unless one is already set), so cargo build works out of the box everywhere.
This commit is contained in:
parent
2994cbbfea
commit
23fac5eb39
3 changed files with 72 additions and 0 deletions
|
|
@ -67,3 +67,4 @@ tokio-stream = "0.1"
|
|||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.12"
|
||||
protoc-bin-vendored = "3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue