Skip to content

Commit

Permalink
makes jobs run sequencial
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike committed Mar 12, 2022
1 parent 873e8e4 commit 8305c68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions azure-pipelines-job-template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
parameters:
- name: dependsOn
type: []
- name: os
type: string
values: [windows, ubuntu, macOS]
Expand All @@ -20,6 +22,7 @@ parameters:

jobs:
- job: ${{parameters.os}}_${{parameters.runtimeType}}_${{parameters.architecture}}
dependsOn: ${{parameters.DependsOn}}
displayName: ${{replace(format('{0} {1} {2}', parameters.os, replace(parameters.runtimeType, 'dotnet', ''), parameters.architecture), ' ', ' ')}}

pool:
Expand Down
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,30 @@ jobs:

- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_dotnet_x64
os: windows
architecture: x86
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]

- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_dotnet_x86
os: windows
architecture: x64
runtimeType: mono
frameworks: [net35, net45, net472, net48] # mono for .NET Core just delegates to actual .NET Core, so no need for mono .NET Core tests

- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_mono_x64
os: windows
architecture: x86
runtimeType: mono
frameworks: [net35, net45, net472, net48] # mono for .NET Core just delegates to actual .NET Core, so no need for mono .NET Core tests

- template: azure-pipelines-job-template.yml
parameters:
DependsOn: windows_mono_x86
os: ubuntu
architecture: x64
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
Expand All @@ -51,6 +55,7 @@ jobs:

- template: azure-pipelines-job-template.yml
parameters:
DependsOn: ubuntu_dotnet_x64
os: macOS
architecture: x64
frameworks: [net35, net45, net472, net48, netcoreapp3.0, netcoreapp3.1, net5.0]
Expand Down

0 comments on commit 8305c68

Please sign in to comment.