Skip to content

Commit

Permalink
install protoc
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Sep 15, 2024
1 parent 8306a77 commit 15ad19a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: git diff --exit-code
codegen:
name: Codegen
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

unit-tests:
name: Unit Tests
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 10
services:
redis:
Expand Down Expand Up @@ -113,8 +113,8 @@ jobs:
with:
tool: grcov

- name: Install Protobuf Compiler
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Test Rust
working-directory: ./rust
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- run: git diff --exit-code

build-rust-amd64:
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./rust
Expand All @@ -167,8 +167,8 @@ jobs:
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install dependencies
run: sudo apt-get install -y protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Build binary
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
- name: Rename binary
Expand Down

0 comments on commit 15ad19a

Please sign in to comment.