We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MACOSX_DEPLOYMENT_TARGET
1 parent 1241c16 commit e8103c5Copy full SHA for e8103c5
azure-pipelines.yml
@@ -24,20 +24,23 @@ jobs:
24
linux:
25
imageName: 'ubuntu-16.04'
26
ExecutableSuffix: ''
27
+ Exports: ''
28
mac:
29
imageName: 'macOS-latest'
30
31
+ Exports: 'CGO_ENABLED=1 MACOSX_DEPLOYMENT_TARGET=10.14 '
32
windows:
33
imageName: 'vs2017-win2016'
34
ExecutableSuffix: '.exe'
35
36
pool:
37
vmImage: $(imageName)
38
steps:
39
- task: GoTool@0
40
inputs:
- version: '1.12'
41
+ version: '1.13'
42
- script: |
- go build -o "$(Build.BinariesDirectory)/$(Agent.OS)_amd64/$(ExecutableName)$(ExecutableSuffix)"
43
+ $(Exports)go build -o "$(Build.BinariesDirectory)/$(Agent.OS)_amd64/$(ExecutableName)$(ExecutableSuffix)"
44
go test ./...
45
displayName: 'Build and Test'
46
- task: ArchiveFiles@2
0 commit comments