Skip to content

Commit 1ec427b

Browse files
committed
Upgrade tonic and prost to latest
This has the side effect to add the protobuf compiler as a build requirement. It also removes the need for rustfmt during build. Signed-off-by: Nicolas Belouin <[email protected]>
1 parent c6c7d39 commit 1ec427b

File tree

17 files changed

+845
-307
lines changed

17 files changed

+845
-307
lines changed

.github/workflows/auto-update-dependencies.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Install Linux requirements
2222
run: |
23-
apt_dependencies="git curl libssl-dev pkg-config libudev-dev libv4l-dev"
23+
apt_dependencies="git curl libssl-dev pkg-config libudev-dev libv4l-dev protobuf-compiler"
2424
echo "Run apt update and apt install the following dependencies: $apt_dependencies"
2525
sudo apt update
2626
sudo apt install -y $apt_dependencies

.github/workflows/check-rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
components: clippy, rustfmt
3838
- name: Install Linux requirements
3939
run: |
40-
apt_dependencies="git curl libssl-dev pkg-config libudev-dev libv4l-dev"
40+
apt_dependencies="git curl libssl-dev pkg-config libudev-dev libv4l-dev protobuf-compiler"
4141
echo "Run apt update and apt install the following dependencies: $apt_dependencies"
4242
sudo apt update
4343
sudo apt install -y $apt_dependencies

.github/workflows/run-tarpaulin.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ jobs:
4141
- name: Start tarpaulin instance
4242
run: docker start $(cat container_id.txt)
4343
- name: Install linux requirement in tarpaulin instance
44-
run: docker exec $(cat container_id.txt) sh -c "echo Run apt update and apt install the following dependencies - git curl libssl-dev pkg-config libudev-dev libv4l-dev ; apt update ; apt install -y git curl libssl-dev pkg-config libudev-dev libv4l-dev"
44+
run: docker exec $(cat container_id.txt) sh -c "echo Run apt update and apt install the following dependencies - git curl libssl-dev pkg-config libudev-dev libv4l-dev protobuf-compiler ; apt update ; apt install -y git curl libssl-dev pkg-config libudev-dev libv4l-dev protobuf-compiler"
4545
- name: Install desired rust version
4646
run: docker exec $(cat container_id.txt) sh -c "rustup install $CARGO_VERSION"
4747
- name: Tell cargo to use desired rust version
4848
run: docker exec $(cat container_id.txt) sh -c "rustup override set $CARGO_VERSION"
49-
- name: Install rust requirements in tarpaulin instance
50-
run: docker exec $(cat container_id.txt) sh -c "rustup component add rustfmt"
5149
- name: Run tarpaulin
5250
run: docker exec $(cat container_id.txt) sh -c "RUST_LOG=trace cargo tarpaulin -v --all-features --out Xml"
5351

Cargo.lock

+142-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)