-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappveyor.yml
41 lines (34 loc) · 2.04 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
version: 2.7.{build}
image: Visual Studio 2017
clone_folder: C:\CodePulse
build_script:
- cmd: powershell -file C:\CodePulse\installers\build.ps1 -version 2.7.0 -versionForDotNetTracerWindowsDownloadUrl 2.7.0 -useGitHubDotNetTracerWindowsDownloadUrl
# - cmd: powershell -file C:\CodePulse\installers\build.ps1 -version %APPVEYOR_BUILD_VERSION% -versionForDotNetTracerWindowsDownloadUrl %APPVEYOR_JOB_ID% -skipMac -skipLinux # skips building packages for macOS and Linux
before_test:
- cmd: >-
C:\Windows\System32\regsvr32.exe C:\CodePulse\dotnet-tracer\main\bin\Release\x64\OpenCover.Profiler.dll /s
C:\Windows\SysWOW64\regsvr32.exe C:\CodePulse\dotnet-tracer\main\bin\Release\x86\OpenCover.Profiler.dll /s
test:
assemblies:
only:
- '**\CodePulse.Client.Test.dll'
- '**\CodePulse.Console.Test.dll'
- '**\OpenCover.Test.dll'
- '**\OpenCover.Test.Profiler.dll'
- '**\CodePulse.Framework.Test.dll'
after_test:
- ps: >-
$wc = New-Object 'System.Net.WebClient'
C:\CodePulse\dotnet-tracer\main\bin\Release\x86\OpenCover.Test.Profiler.exe --gtest_output="xml:C:\CodePulse\OpenCover.Test.Profiler.x86.xml" --gtest_filter=-TimerTest*
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", "C:\CodePulse\OpenCover.Test.Profiler.x86.xml")
C:\CodePulse\dotnet-tracer\main\bin\Release\x64\OpenCover.Test.Profiler.exe --gtest_output="xml:C:\CodePulse\OpenCover.Test.Profiler.x64.xml" --gtest_filter=-TimerTest*
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", "C:\CodePulse\OpenCover.Test.Profiler.x64.xml")
artifacts:
- path: installers\CodePulse-2.7.0-Linux-x64.zip # Comment out when using -skipLinux switch
name: Code Pulse Linux #
- path: installers\CodePulse-2.7.0-macOS-x64.zip # Comment out when using -skipMac switch
name: Code Pulse Mac #
- path: installers\CodePulse-2.7.0-Windows-x64.zip
name: Code Pulse Windows
- path: installers\CodePulse-DotNetTracer-2.7.0-Windows.zip
name: Code Pulse .NET Tracer