mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
58dde8fc14
commit
920dfa0530
|
|
@ -16,18 +16,8 @@ variables:
|
|||
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
mkdir -p '$(GOBIN)'
|
||||
mkdir -p '$(GOPATH)/pkg'
|
||||
mkdir -p '$(modulePath)'
|
||||
shopt -s extglob
|
||||
shopt -s dotglob
|
||||
mv !(gopath) '$(modulePath)'
|
||||
echo '##vso[task.prependpath]$(GOBIN)'
|
||||
echo '##vso[task.prependpath]$(GOROOT)/bin'
|
||||
displayName: 'Set up the Go workspace'
|
||||
|
||||
- task: CmdLine@2
|
||||
name: Build
|
||||
inputs:
|
||||
workingDirectory: '$(Build.Repository.LocalPath)/dendrite'
|
||||
script: './build.sh'
|
||||
Loading…
Reference in a new issue