Skip to content

Commit

Permalink
Enhance GitHub Actions build plugin: add gcc and g++ installation, an…
Browse files Browse the repository at this point in the history
…d verify protoc version
  • Loading branch information
royshil committed Nov 27, 2024
1 parent 25eb447 commit 0c673b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/build-plugin/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
run: |
: Build gRPC 🛠️
echo ::group::Build gRPC
sudo apt-get install -y ccache || brew install ccache
sudo apt-get install -y ccache gcc g++ || brew install ccache
git clone https://github.com/grpc/grpc.git --depth 1
cd grpc
git submodule update --init
Expand All @@ -50,6 +50,8 @@ runs:
@com_google_protobuf//:protoc @com_github_grpc_grpc//src/compiler:grpc_cpp_plugin
echo "GRPC_SOURCE_DIR=$(pwd)/include" >> $GITHUB_ENV
echo "GRPC_BUILD_DIR=$(bazel info output_base)" >> $GITHUB_ENV
# verify protoc
bazel-bin/external/com_google_protobuf/protoc --version
echo ::endgroup::
- name: Run macOS Build
Expand Down

0 comments on commit 0c673b1

Please sign in to comment.