Skip to content

Commit

Permalink
Install protoc when building
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 18, 2024
1 parent 7fb10f5 commit 022e8d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: ${{ matrix.target }}
- name: Install protoc for lang repo
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y protobuf-compiler
elif [ "${{ matrix.os }}" = "macos-latest" ]; then
brew install protobuf
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
choco install protoc
fi
- name: Build diffenator3/diff3proof
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 022e8d0

Please sign in to comment.