We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485a8f8 commit c1b4166Copy full SHA for c1b4166
azure-pipelines.yml
@@ -23,18 +23,21 @@ jobs:
23
matrix:
24
linux:
25
imageName: 'ubuntu-16.04'
26
+ ExecutableSuffix: ''
27
mac:
28
imageName: 'macos-10.13'
29
30
windows:
31
imageName: 'vs2017-win2016'
32
+ ExecutableSuffix: '.exe'
33
pool:
34
vmImage: $(imageName)
35
steps:
36
- task: GoTool@0
37
inputs:
38
version: '1.12'
39
- script: |
- go build -o "$(Build.BinariesDirectory)/$(Agent.OS)_amd64/$(ExecutableName)"
40
+ go build -o "$(Build.BinariesDirectory)/$(Agent.OS)_amd64/$(ExecutableName)$(ExecutableSuffix)"
41
go test ./...
42
displayName: 'Build and Test'
43
- task: ArchiveFiles@2
0 commit comments