From c2295278920f8f299081cea7f02684c93ee1ccb6 Mon Sep 17 00:00:00 2001 From: campersau Date: Mon, 30 Aug 2021 08:46:46 +0200 Subject: [PATCH] dotnet test --- appveyor.yml | 73 ++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 08657f55d1..80f7c6fca9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,59 +1,52 @@ version: 93.1.70-CI{build} -image: -# - Visual Studio 2019 Preview - - Visual Studio 2019 - clone_depth: 10 +environment: + matrix: + - job_name: netframework + appveyor_build_worker_image: Visual Studio 2019 + - job_name: netcore + appveyor_build_worker_image: Visual Studio 2019 + matrix: fast_finish: true - + configuration: Release -#for: -# - -# matrix: -# only: -# - image: Visual Studio 2019 -# build_script: -# - ps: .\build.ps1 -# test: +for: + - + matrix: + only: + - job_name: netframework + build_script: + - ps: .\build.ps1 + test_script: # Test our Release x64 build -# assemblies: -# - CefSharp.Test\bin\x64\Release\CefSharp.Test.dll -# - -# matrix: -# only: -# - image: Visual Studio 2019 Preview -# build_script: -# - ps: .\build.netcore.ps1 -# test_script: + - dotnet test CefSharp.Test\bin\x64\Release\CefSharp.Test.dll + - + matrix: + only: + - job_name: netcore + build_script: + - ps: .\build.netcore.ps1 + test_script: # Test our Release x64 build -# dotnet test CefSharp.Test\bin.netcore\x64\Release\netcoreapp3.1\win-x64\CefSharp.Test.dll - -# to run your custom scripts instead of automatic MSBuild -build_script: - - ps: .\build.ps1 - -test: - # Test our Release x64 build - assemblies: - - CefSharp.Test\bin\x64\Release\CefSharp.Test.dll + - dotnet test CefSharp.Test\bin.netcore\x64\Release\netcoreapp3.1\win-x64\CefSharp.Test.dll artifacts: - path: NuGet\**\*.nupkg name: nupkgfiles # Publish to myget.org feed -deploy: - provider: NuGet - server: https://www.myget.org/F/cefsharp/api/v2/package - api_key: - secure: V8du2PPvMPok3Ya701jt5v2XWQgOZf52/H5wDHXBpKvXYkIIe8sonhVUy2TmEkqt - skip_symbols: true - symbol_server: https://www.myget.org/F/cefsharp/api/v2/package - artifact: nupkgfiles +#deploy: +# provider: NuGet +# server: https://www.myget.org/F/cefsharp/api/v2/package +# api_key: +# secure: V8du2PPvMPok3Ya701jt5v2XWQgOZf52/H5wDHXBpKvXYkIIe8sonhVUy2TmEkqt +# skip_symbols: true +# symbol_server: https://www.myget.org/F/cefsharp/api/v2/package +# artifact: nupkgfiles #Skip builing if we only modify text files skip_commits: