Skip to content

Commit 449cb30

Browse files
campersauamaitland
authored andcommitted
AppVeyor - Build both solutions and use dotnet test
1 parent d350cad commit 449cb30

File tree

2 files changed

+11
-33
lines changed

2 files changed

+11
-33
lines changed

CefSharp.Core/CefSharp.Core.netcore.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
<Compile Remove="RequestContext.cs" />
4545
<Compile Remove="UrlRequest.cs" />
4646
<Compile Remove="WindowInfo.cs" />
47+
<!-- Don't include items from the "bin" and "obj" folders used by the .NET Framework projects. -->
48+
<None Remove="bin/**/*.*" />
49+
<None Remove="obj/**/*.*" />
50+
<Compile Remove="obj/**/*.*" />
4751
</ItemGroup>
4852

4953
<ItemGroup>

appveyor.yml

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,19 @@
11
version: 93.1.70-CI{build}
22

3-
image:
4-
# - Visual Studio 2019 Preview
5-
- Visual Studio 2019
6-
73
clone_depth: 10
84

9-
matrix:
10-
fast_finish: true
11-
12-
configuration: Release
5+
image: Visual Studio 2019
136

14-
#for:
15-
# -
16-
# matrix:
17-
# only:
18-
# - image: Visual Studio 2019
19-
# build_script:
20-
# - ps: .\build.ps1
21-
# test:
22-
# Test our Release x64 build
23-
# assemblies:
24-
# - CefSharp.Test\bin\x64\Release\CefSharp.Test.dll
25-
# -
26-
# matrix:
27-
# only:
28-
# - image: Visual Studio 2019 Preview
29-
# build_script:
30-
# - ps: .\build.netcore.ps1
31-
# test_script:
32-
# Test our Release x64 build
33-
# dotnet test CefSharp.Test\bin.netcore\x64\Release\netcoreapp3.1\win-x64\CefSharp.Test.dll
7+
configuration: Release
348

35-
# to run your custom scripts instead of automatic MSBuild
369
build_script:
3710
- ps: .\build.ps1
11+
- ps: .\build.netcore.ps1
3812

39-
test:
40-
# Test our Release x64 build
41-
assemblies:
42-
- CefSharp.Test\bin\x64\Release\CefSharp.Test.dll
13+
test_script:
14+
# Test our Release x64 build
15+
- dotnet test CefSharp.Test\bin\x64\Release\CefSharp.Test.dll
16+
- dotnet test CefSharp.Test\bin.netcore\x64\Release\netcoreapp3.1\win-x64\CefSharp.Test.dll
4317

4418
artifacts:
4519
- path: NuGet\**\*.nupkg

0 commit comments

Comments
 (0)