Skip to content

Commit

Permalink
install latest 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 15ad19a commit a1f44bf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,15 @@ jobs:
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Install required native libraries
run: sudo apt-get update && sudo apt-get install -y build-essential libssl-dev pkg-config
- name: Install protoc v28.0
run: |
PROTOC_ZIP=protoc-25.1-linux-x86_64.zip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.1/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
rm -f $PROTOC_ZIP
protoc --version
- name: Build binary
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
- name: Rename binary
Expand All @@ -184,7 +191,7 @@ jobs:

e2e-tests:
name: E2E Tests
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
needs: [ build-rust-amd64 ]
timeout-minutes: 20
strategy:
Expand Down

0 comments on commit a1f44bf

Please sign in to comment.