mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-30 21:20:09 +00:00
fix: protoc dependency for ci
This commit is contained in:
parent
1ec08198a6
commit
dbde72f261
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -18,6 +18,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
|
||||
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
||||
# chat-cli's build.rs unconditionally links liblogosdelivery and requires
|
||||
# LOGOS_DELIVERY_LIB_DIR. The smoketest job builds and exercises it under
|
||||
# Nix; here we keep the toolchain-only job fast by skipping it.
|
||||
@ -31,6 +33,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- run: rustup component add clippy
|
||||
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
|
||||
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
|
||||
- run: cargo clippy --all-targets --all-features --workspace --exclude chat-cli -- -D warnings
|
||||
|
||||
fmt:
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.perl pkgs.pkg-config pkgs.cmake ];
|
||||
nativeBuildInputs = [ pkgs.perl pkgs.pkg-config pkgs.cmake pkgs.protobuf ];
|
||||
buildType = "release";
|
||||
doCheck = false;
|
||||
cargoBuildFlags = [ "--workspace" "--exclude" "chat-cli" ];
|
||||
@ -95,6 +95,7 @@
|
||||
pkgs.pkg-config
|
||||
pkgs.cmake
|
||||
pkgs.perl
|
||||
pkgs.protobuf
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user