File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PSReadLine-$(Date:yyyyMMdd).$(Rev:.rr)
2+ trigger :
3+ # Batch merge builds together while a merge build is running
4+ batch : true
5+ branches :
6+ include :
7+ - master
8+ - ci
9+ pr :
10+ branches :
11+ include :
12+ - master
13+ - ci
14+
15+ variables :
16+ DOTNET_CLI_TELEMETRY_OPTOUT : 1
17+ POWERSHELL_TELEMETRY_OPTOUT : 1
18+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
19+ PSREADLINE_TESTRUN : 1
20+
21+ resources :
22+ repositories :
23+ - repository : ComplianceRepo
24+ type : github
25+ endpoint : ComplianceGHRepo
26+ name : PowerShell/compliance
27+
28+ stages :
29+ - stage : Build
30+ displayName : Build PSReadLine module
31+ jobs :
32+ - job : BuildPkg
33+ displayName : Build Package
34+ pool :
35+ vmImage : windows-latest
36+ steps :
37+ - pwsh : |
38+ Write-Host "PS Version: $($PSVersionTable.PSVersion)"
39+ Set-Location -Path '$(Build.SourcesDirectory)\PSReadLine'
40+ .\build.ps1 -Bootstrap
41+ .\build.ps1 -Configuration Release -Framework net462
42+
43+ $output = '$(Build.SourcesDirectory)\PSReadLine\bin\Release\PSReadLine'
44+ Write-Host "##vso[artifact.upload containerfolder=PSReadLine;artifactname=PSReadLine]$output"
45+ displayName: Bootstrap & Build
46+
47+ - stage : Test
48+ displayName : Test Package
49+ dependsOn : Build
50+ jobs :
51+ - job : TestPkg
52+ displayName : Test Package
53+ pool :
54+ vmImage : windows-latest
55+ steps :
56+ - pwsh : |
57+ Set-Location -Path '$(Build.SourcesDirectory)\PSReadLine'
58+ .\build.ps1 -Test -Configuration Release -Framework net462
You can’t perform that action at this time.
0 commit comments