File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : $(BuildDefinitionName)-$(date:yyMM).$(date:dd)$(rev:rrr)
2+
3+ trigger : none
4+
5+ schedules :
6+ - cron : " 0 10 * * 1-5"
7+ displayName : Daily CodeQL Build
8+ branches :
9+ include :
10+ - master
11+
12+ stages :
13+ - stage : Build
14+ displayName : Build ZLib
15+ jobs :
16+ - job : BuildPkg
17+ displayName : Build Package
18+ pool :
19+ name : PS-PowerShell-x64
20+ demands :
21+ - ImageOverride -equals PSMMS2022-OpenSSH-Secure
22+ variables :
23+ Codeql.Enabled : true
24+ Codeql.Cadence : 23 # hours
25+ steps :
26+ - task : CodeQL3000Init@0
27+ displayName : Initialize CodeQL
28+
29+ - pwsh : |
30+ Write-Verbose "Starting the build configuration:Release Platform:x64"
31+ $buildLogPath = Join-Path $repolocation "build\build_x64_Release.log"
32+ & 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe' "$(Build.SourcesDirectory)/build/ZLib.sln" /p:Configuration=Release /p:Platform=x64 /m /noconlog /fl /flp:LogFile=$buildLogPath
33+ displayName: Build ZLib
34+
35+ - task : CodeQL3000Finalize@0
36+ displayName : Finalize CodeQL
37+
38+ - pwsh : |
39+ $BuildOutPath = "$(Build.SourcesDirectory)/build/bin"
40+ $BuildOutx64Path = Join-Path -Path $BuildOutPath -ChildPath 'x64/Release'
41+ Get-ChildItem -Path $BuildOutx64Path
42+ displayName: Capture build results
You can’t perform that action at this time.
0 commit comments