mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-26 13:48:53 +08:00
NOISSUE - Fix CI (#1204)
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
This commit is contained in:
parent
340e685d70
commit
a1643b1e7e
@ -31,6 +31,9 @@ update_go() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup_protoc() {
|
setup_protoc() {
|
||||||
|
# Execute `go get` for protoc dependencies outside of project dir.
|
||||||
|
cd ..
|
||||||
|
export GO111MODULE=on
|
||||||
echo "Setting up protoc..."
|
echo "Setting up protoc..."
|
||||||
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
|
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
|
||||||
curl -0L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP -o $PROTOC_ZIP
|
curl -0L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP -o $PROTOC_ZIP
|
||||||
@ -44,6 +47,7 @@ setup_protoc() {
|
|||||||
google.golang.org/grpc@$GRPC_VERSION
|
google.golang.org/grpc@$GRPC_VERSION
|
||||||
|
|
||||||
export PATH=$PATH:/usr/local/bin/protoc
|
export PATH=$PATH:/usr/local/bin/protoc
|
||||||
|
cd mainflux
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_mf() {
|
setup_mf() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user