mirror of
https://github.com/actions/go-versions
synced 2024-11-14 01:22:38 +00:00
65 lines
No EOL
1.3 KiB
YAML
65 lines
No EOL
1.3 KiB
YAML
name: $(date:yyyyMMdd)$(rev:.r)-Go-$(VERSION)
|
|
trigger: none
|
|
pr:
|
|
autoCancel: true
|
|
branches:
|
|
include:
|
|
- master
|
|
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 |