Skip to content

Commit 6e84e84

Browse files
committed
ci: install protoc for coordinode-raft prost-build
1 parent ded922d commit 6e84e84

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
--manifest-path coordinode-embedded/Cargo.toml
6262
--out /tmp/embedded-dist
6363
manylinux: manylinux_2_28
64+
before-script-linux: |
65+
dnf install -y protobuf-compiler
6466
6567
test-integration:
6668
name: Integration tests

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ jobs:
102102
- name: Verify coordinode-rs submodule tag
103103
run: git -C coordinode-rs describe --tags --exact-match HEAD || true
104104

105+
- name: Install protoc (macOS / Windows)
106+
if: runner.os != 'Linux'
107+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
108+
with:
109+
repo-token: ${{ secrets.GITHUB_TOKEN }}
110+
105111
- name: Build wheels
106112
uses: PyO3/maturin-action@32307a466a178317e8c2ae343b38e73896a047be # v1.47.0
107113
with:
@@ -113,6 +119,8 @@ jobs:
113119
--out dist
114120
manylinux: ${{ matrix.manylinux || 'auto' }}
115121
target: ${{ matrix.target }}
122+
before-script-linux: |
123+
dnf install -y protobuf-compiler
116124
117125
- name: Upload wheels
118126
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

0 commit comments

Comments
 (0)