macho/macho-go/azure-pipelines.yml
2023-05-31 16:17:03 +07:00

26 lines
644 B
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: GoTool@0
inputs:
version: '1.13'
- bash: |
wget "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protoc-3.13.0-linux-x86_64.zip"
unzip "protoc-3.13.0-linux-x86_64.zip" -d $HOME/protobuf
export PATH=$PATH:$HOME/protobuf/bin
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOPATH:$GOBIN
make install
make
displayName: 'Build'