-
Notifications
You must be signed in to change notification settings - Fork 5
/
azure-pipelines.yml
47 lines (45 loc) · 1.24 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
trigger:
- develop
- master
- release/*
- hotfix/*
pr:
- develop
- release/*
- hotfix/*
jobs:
# Build
- job: Build
pool:
vmImage: 'windows-2022'
steps:
# .NET 5 required for GitVersion
- task: UseDotNet@2
inputs:
version: '5.x'
displayName: 'Install .NET 5'
- task: UseDotNet@2
inputs:
version: '8.x'
displayName: 'Install .NET 8'
- task: UseDotNet@2
inputs:
version: '9.x'
displayName: 'Install .NET 9'
- powershell: ./build.ps1
displayName: 'Build'
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
artifact: NuGet Package
displayName: 'Publish NuGet package as build artifact'
# Integration Tests Frosting
- template: .azuredevops/pipelines/templates/jobs/test-frosting.yml
parameters:
images: [ 'windows-2019', 'windows-2022', 'macOS-13', 'macOS-14', 'ubuntu-22.04', 'ubuntu-24.04' ]
dotNetVersions: [ 8, 9 ]
repositoryInfoProviders: [ 'git-cli', 'cake-git' ]
# Integration Tests Script Runner
- template: .azuredevops/pipelines/templates/jobs/test-scripting.yml
parameters:
images: [ 'windows-2019', 'windows-2022', 'macOS-13', 'macOS-14', 'ubuntu-22.04', 'ubuntu-24.04' ]
dotNetVersions: [ 8, 9 ]
repositoryInfoProviders: [ 'git-cli', 'cake-git' ]