install protoc

This commit is contained in:
Jeffrey Picard 2021-07-14 21:08:00 -04:00
parent 15baa7a428
commit f7a868a49c
3 changed files with 42 additions and 0 deletions

View file

@ -10,6 +10,20 @@ jobs:
- uses: actions/setup-go@v2.1.3
with:
go-version: 1.16.5
- run: |
sudo apt update && \
sudo apt upgrade && \
sudo apt-get install autoconf automake libtool curl make g++ unzip && \
cd /tmp && \
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.1/protobuf-all-3.17.1.tar.gz && \
tar xfzv protobuf-all-3.17.1.tar.gz && \
./autogen.sh && \
./configure && \
make && \
make check && \
sudo make install && \
sudo ldconfig && \
cd
- run: pip install grpcio grpcio-tools
- run: go get github.com/golang/protobuf/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
- run: go build .

View file

@ -14,6 +14,20 @@ jobs:
with:
python-version: '3.8'
architecture: 'x64'
- run: |
sudo apt update && \
sudo apt upgrade && \
sudo apt-get install autoconf automake libtool curl make g++ unzip && \
cd /tmp && \
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.1/protobuf-all-3.17.1.tar.gz && \
tar xfzv protobuf-all-3.17.1.tar.gz && \
./autogen.sh && \
./configure && \
make && \
make check && \
sudo make install && \
sudo ldconfig && \
cd
- run: pip install grpcio grpcio-tools
- run: go get github.com/golang/protobuf/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
- run: python3 scripts/version.py current --commit # creates a draft release

View file

@ -15,6 +15,20 @@ jobs:
with:
python-version: '3.8'
architecture: 'x64'
- run: |
sudo apt update && \
sudo apt upgrade && \
sudo apt-get install autoconf automake libtool curl make g++ unzip && \
cd /tmp && \
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.1/protobuf-all-3.17.1.tar.gz && \
tar xfzv protobuf-all-3.17.1.tar.gz && \
./autogen.sh && \
./configure && \
make && \
make check && \
sudo make install && \
sudo ldconfig && \
cd
- run: pip install grpcio grpcio-tools
- run: go get github.com/golang/protobuf/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
- run: python3 scripts/version.py current --commit --commit --commit