forked from coverlet-coverage/coverlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
64 lines (61 loc) · 1.43 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
trigger:
branches:
include: ["master", "*_validate"]
paths:
exclude: [".github", "doc", "*.md"]
jobs:
- job: Windows
displayName: Windows
continueOnError: true
strategy:
matrix:
Debug:
buildConfiguration: "Debug"
Release:
buildConfiguration: "Release"
pool:
vmImage: 'windows-2019'
steps:
- template: build.yml
- task: CopyFiles@2
displayName: Collect packages
inputs:
SourceFolder: bin\$(BuildConfiguration)\Packages
Contents: |
*.nupkg
*.snupkg
TargetFolder: $(Build.ArtifactStagingDirectory)\Packages
condition: eq(variables['BuildConfiguration'], 'Release')
- task: PublishBuildArtifacts@1
displayName: Publish packages as build artifacts
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)\Packages
ArtifactName: Packages
publishLocation: Container
condition: eq(variables['BuildConfiguration'], 'Release')
- job: macOS
displayName: macOS
continueOnError: true
strategy:
matrix:
Debug:
buildConfiguration: "Debug"
Release:
buildConfiguration: "Release"
pool:
vmImage: 'macOS-10.14'
steps:
- template: build.yml
- job: Linux
displayName: Linux
continueOnError: true
strategy:
matrix:
Debug:
buildConfiguration: "Debug"
Release:
buildConfiguration: "Release"
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: build.yml