forked from KirillOsenkov/MSBuildStructuredLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (45 loc) · 2.17 KB
/
appveyor.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
version: 1.1.{build}
image: Visual Studio 2022
branches:
only:
- main
install:
- choco upgrade chocolatey # Need at least 0.10.8 to avoid packaging error
- dotnet tool install --global Cake.Tool --version 1.0.0
- ps: Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
- ps: '& $env:temp\dotnet-install.ps1 -Version "6.0.303"'
build_script:
- cmd: >-
dotnet msbuild /r /m /p:Configuration=Release /clp:v=m MSBuildStructuredLog.sln /bl /logger:"C:\Program Files\AppVeyor\BuildAgent\dotnetcore\Appveyor.MSBuildLogger.dll"
dotnet cake ./build-macos.cake --settings_skippackageversioncheck=true
after_build:
- ps: >-
Compress-Archive `
"bin\StructuredLogViewer\Release\net472\Releases\MSBuildStructuredLogSetup.exe", `
"bin\StructuredLogViewer\Release\net472\Releases\MSBuildStructuredLogViewer*.nupkg", `
"bin\StructuredLogger\Release\netstandard2.0\StructuredLogger.dll" `
-DestinationPath "MSBuildStructuredLog-${Env:APPVEYOR_BUILD_VERSION}.zip"
artifacts:
- path: msbuild.binlog
name: MSBuild Log
- path: 'bin\StructuredLogViewer\Release\net472\msbuild-structured-log-viewer*.nupkg'
name: Chocolatey Package
- path: 'bin\StructuredLogViewer\Release\net472\Releases\MSBuildStructuredLogSetup.exe'
name: MSBuildStructuredLogSetup.exe
- path: 'bin\StructuredLogViewer\Release\net472\Releases\MSBuildStructuredLogViewer*.nupkg'
name: Installer nupkg
- path: 'bin\StructuredLogViewer\Release\net472\Releases\RELEASES'
name: RELEASES
- path: 'bin\StructuredLogger\Release\netstandard2.0\StructuredLogger.dll'
name: StructuredLogger.dll
- path: 'MSBuildStructuredLog-*.zip'
name: Bundle
- path: 'artifacts\StructuredLogViewer-*.zip'
name: 'Structured Log Viewer macOS app'
on_failure:
- appveyor PushArtifact msbuild.binlog
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/74f63071-f2aa-46ce-bd8f-1e7cd8774019/Integrations/AppVeyor?ProjectKey=MSBuildStructuredLog&SigningPolicyKey=release-signing
authorization:
secure: WALjHGjvNllt916kBDQ5tSYXGvaKDqymo/jQJoIKwITueSp4LF3jS+9nllR46G8pp2AH+Z6RL1f089XGDOYlfg==