-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathazure-pipelines.yml
61 lines (54 loc) · 1.55 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
jobs:
- job: Build_PS_Windows
pool:
vmImage: windows-latest
steps:
- pwsh: |
.\Build.ps1 -NonInteractive -NoLogo -NoProfile
displayName: 'Test'
- task: PublishTestResults@2
displayName: 'Publish Test Results'
condition: always()
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PS_Windows'
- task: ArchiveFiles@2
displayName: 'Archive Build'
inputs:
rootFolderOrFile: Build
includeRootFolder: false
replaceExistingArchive: true
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'
- job: Build_PSCore_Ubuntu
pool:
vmImage: ubuntu-latest
steps:
- script: |
pwsh -c '.\Build.ps1' -NonInteractive -NoLogo -NoProfile
displayName: 'Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PSCore_Ubuntu'
condition: always()
displayName: 'Publish Test Results'
- job: Build_PSCore_Mac
pool:
vmImage: macOS-latest
steps:
- script: |
pwsh -c '.\Build.ps1' -NonInteractive -NoLogo -NoProfile
displayName: 'Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PSCore_MacOS'
condition: always()
displayName: 'Publish Test Results'