2020-06-09 19:52:06 +00:00
|
|
|
name: $(date:yyyyMMdd)$(rev:.r)-Go-$(VERSION)
|
|
|
|
trigger: none
|
|
|
|
pr:
|
|
|
|
autoCancel: true
|
|
|
|
branches:
|
|
|
|
include:
|
2020-07-14 13:34:48 +00:00
|
|
|
- main
|
2020-06-09 19:52:06 +00:00
|
|
|
paths:
|
|
|
|
exclude:
|
|
|
|
- versions-manifest.json
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- stage: Build_Go_Darwin
|
|
|
|
dependsOn: []
|
|
|
|
variables:
|
|
|
|
Platform: darwin
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
|
|
|
|
- stage: Test_Go_Darwin
|
|
|
|
condition: succeeded()
|
|
|
|
dependsOn: Build_Go_Darwin
|
|
|
|
variables:
|
|
|
|
VmImage: macOS-latest
|
|
|
|
Platform: darwin
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
|
|
|
|
- stage: Build_Go_Linux
|
|
|
|
dependsOn: []
|
|
|
|
variables:
|
|
|
|
Platform: linux
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
|
|
|
|
- stage: Test_Go_Linux
|
|
|
|
condition: succeeded()
|
|
|
|
dependsOn: Build_Go_Linux
|
|
|
|
variables:
|
|
|
|
VmImage: ubuntu-latest
|
|
|
|
Platform: linux
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/test-job.yml
|
|
|
|
|
|
|
|
- stage: Build_Go_Windows
|
|
|
|
dependsOn: []
|
|
|
|
variables:
|
|
|
|
Platform: win32
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/build-job.yml
|
|
|
|
|
|
|
|
- stage: Test_Go_Windows
|
|
|
|
condition: succeeded()
|
|
|
|
dependsOn: Build_Go_Windows
|
|
|
|
variables:
|
|
|
|
VmImage: windows-latest
|
|
|
|
Platform: win32
|
|
|
|
Architecture: x64
|
|
|
|
jobs:
|
|
|
|
- template: /azure-pipelines/templates/test-job.yml
|