mirror of
https://github.com/LBRYFoundation/herald.go.git
synced 2025-10-01 07:30:33 +00:00
install protoc
This commit is contained in:
parent
15baa7a428
commit
f7a868a49c
3 changed files with 42 additions and 0 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -10,6 +10,20 @@ jobs:
|
||||||
- uses: actions/setup-go@v2.1.3
|
- uses: actions/setup-go@v2.1.3
|
||||||
with:
|
with:
|
||||||
go-version: 1.16.5
|
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: 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 get github.com/golang/protobuf/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
||||||
- run: go build .
|
- run: go build .
|
||||||
|
|
14
.github/workflows/draft-release.yml
vendored
14
.github/workflows/draft-release.yml
vendored
|
@ -14,6 +14,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
architecture: 'x64'
|
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: 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 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
|
- run: python3 scripts/version.py current --commit # creates a draft release
|
||||||
|
|
14
.github/workflows/full-release.yml
vendored
14
.github/workflows/full-release.yml
vendored
|
@ -15,6 +15,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
architecture: 'x64'
|
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: 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 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
|
- run: python3 scripts/version.py current --commit --commit --commit
|
Loading…
Add table
Reference in a new issue