forked from javinizer/Javinizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
34 lines (31 loc) · 1.27 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
jobs:
# https://docs.microsoft.com/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema
# https://docs.microsoft.com/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent
# https://docs.microsoft.com/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml
- job: build_pwsh_WinLatest
pool:
vmImage: windows-latest
steps:
- pwsh: |
$PSVersionTable
.\actions_bootstrap.ps1
Invoke-Build -File $(Build.SourcesDirectory)\src\Javinizer.build.ps1
displayName: 'Build and Test - Windows pwsh'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '$(Build.SourcesDirectory)\ccReport\codeCoverage.xml'
testRunTitle: 'pwsh_winLatest'
displayName: 'Publish Test Results'
- task: PublishPipelineArtifact@1
inputs:
path: $(Build.SourcesDirectory)\src\Artifacts
artifact: Javinizer
- pwsh: |
Get-ChildItem . -Recurse -Depth 4
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '$(Build.SourcesDirectory)\ccReport\codeCoverage.xml'
testRunTitle: 'pwsh_ubuntuLatest'
displayName: 'Publish Test Results'