-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
29 lines (29 loc) · 1.32 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
version: 'Build #{build}'
image: Visual Studio 2022
configuration: Release
before_build:
- dotnet restore
- dotnet restore -r win-x64
build_script:
- dotnet build
- dotnet build TestApp/TestApp.sln
- msbuild TestLib/TestLib.sln /verbosity:minimal
test_script:
- vstest.console /logger:Appveyor ClrDebug.Tests\bin\%CONFIGURATION%\net461\ClrDebug.Tests.dll /platform:x86 /InIsolation /TestCaseFilter:TestCategory!=SkipCI
- vstest.console /logger:Appveyor ClrDebug.Tests\bin\%CONFIGURATION%\net461\ClrDebug.Tests.dll /platform:x64 /InIsolation /TestCaseFilter:TestCategory!=SkipCI
- vstest.console /logger:Appveyor ClrDebug.Tests\bin\%CONFIGURATION%\net8.0\ClrDebug.Tests.dll /platform:x86 /InIsolation /TestCaseFilter:TestCategory!=SkipCI
- vstest.console /logger:Appveyor ClrDebug.Tests\bin\%CONFIGURATION%\net8.0\ClrDebug.Tests.dll /platform:x64 /InIsolation /TestCaseFilter:TestCategory!=SkipCI
after_test:
- dotnet pack ClrDebug\ClrDebug.csproj
- 7z a ClrDebug.zip .\ClrDebug\bin\%CONFIGURATION%\* -xr!*.json -xr!*.nupkg -xr!publish
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
artifacts:
- path: '**/*.nupkg'
- path: ClrDebug.zip
skip_commits:
files:
- '**/*.md'
- '**/*.yml'
- '**/*.png'
skip_tags: true