mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Use stages in Azure Pipelines
This commit is contained in:
parent
10f11c2d89
commit
9ca197ea78
35
.azure.yml
35
.azure.yml
@ -1,10 +1,14 @@
|
|||||||
jobs:
|
stages:
|
||||||
|
- stage: Build
|
||||||
|
displayName: Build packages
|
||||||
|
|
||||||
######################
|
jobs:
|
||||||
###### Linux #########
|
|
||||||
######################
|
|
||||||
|
|
||||||
- job: Linux
|
######################
|
||||||
|
###### Linux #########
|
||||||
|
######################
|
||||||
|
|
||||||
|
- job: Linux
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
@ -57,11 +61,11 @@ jobs:
|
|||||||
condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
|
condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
|
||||||
displayName: 'Publish artifacts'
|
displayName: 'Publish artifacts'
|
||||||
|
|
||||||
######################
|
######################
|
||||||
###### macOS #########
|
###### macOS #########
|
||||||
######################
|
######################
|
||||||
|
|
||||||
- job: macOS
|
- job: macOS
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-10.14'
|
vmImage: 'macOS-10.14'
|
||||||
@ -99,12 +103,15 @@ jobs:
|
|||||||
###### Publish Releases ########
|
###### Publish Releases ########
|
||||||
################################
|
################################
|
||||||
|
|
||||||
- job: PublishReleases
|
- stage: Publish
|
||||||
timeoutInMinutes: 120
|
displayName: Publish Releases
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- Linux
|
- Build
|
||||||
- macOS
|
condition: and(succeeded('Build'), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
|
||||||
condition: and(succeeded(), ne(variables['system.pullrequest.isfork'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
|
|
||||||
|
jobs:
|
||||||
|
- job: PublishReleases
|
||||||
|
timeoutInMinutes: 120
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: ubuntu-16.04
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user