Skip to content

Commit

Permalink
Have Azure build a single release candidate
Browse files Browse the repository at this point in the history
Do a diamond thing. No idea if this will work.
  • Loading branch information
JoshDreamland committed Feb 17, 2020
1 parent 56bc053 commit a95e3f1
Showing 1 changed file with 41 additions and 4 deletions.
45 changes: 41 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,24 @@ variables:
releasetag: 'RadialGM-$(Build.SourceVersion)'

jobs:
- job: CreateReleaseCandidate
displayName: 'Create Release Candidate'
timeoutInMinutes: 15
steps:
- task: GithubRelease@0
displayName: 'Create GitHub Release Candidate'
inputs:
gitHubConnection: github.com_EnigmaBot
repositoryName: enigma-dev/RadialGM
action: create
tagSource: manual
tag: '$(releasetag)'
isDraft: true
isPreRelease: true

- job: MINGW
timeoutInMinutes: 360
dependsOn: CreateReleaseCandidate
pool:
vmImage: windows-latest
strategy:
Expand Down Expand Up @@ -61,10 +77,11 @@ jobs:
displayName: 'Package'
- task: GithubRelease@0
displayName: 'Create GitHub Release'
displayName: 'Add MinGW to GitHub Release'
inputs:
gitHubConnection: github.com_JoshDreamland
gitHubConnection: github.com_EnigmaBot
repositoryName: enigma-dev/RadialGM
action: edit
tagSource: manual
tag: '$(releasetag)'
isPreRelease: true
Expand All @@ -73,6 +90,7 @@ jobs:
- job: MSVC_64
displayName: 'MSVC x86_64'
dependsOn: CreateReleaseCandidate
pool:
vmImage: 'windows-latest'
timeoutInMinutes: 250
Expand Down Expand Up @@ -115,10 +133,11 @@ jobs:
displayName: 'Package'
- task: GithubRelease@0
displayName: 'Create GitHub Release'
displayName: 'Add MSVC to GitHub Release'
inputs:
gitHubConnection: github.com_JoshDreamland
gitHubConnection: github.com_EnigmaBot
repositoryName: enigma-dev/RadialGM
action: edit
tagSource: manual
tag: '$(releasetag)'
isPreRelease: true
Expand Down Expand Up @@ -182,3 +201,21 @@ jobs:
git clean -fx
EOF
displayName: 'Debug Build'
- job: PublishRelease
displayName: 'Publish Release'
timeoutInMinutes: 15
dependsOn:
- MINGW
- MSVC_64
steps:
- task: GithubRelease@0
displayName: 'Publish GitHub Release Candidate'
inputs:
gitHubConnection: github.com_EnigmaBot
repositoryName: enigma-dev/RadialGM
action: edit
tagSource: manual
tag: '$(releasetag)'
isDraft: false
isPreRelease: false

0 comments on commit a95e3f1

Please sign in to comment.