Try the GPU tests again
This commit is contained in:
Родитель
3103ee9662
Коммит
5bacb82741
10
build.cake
10
build.cake
|
@ -217,12 +217,12 @@ Task ("tests")
|
|||
if (IsRunningOnWindows ()) {
|
||||
EnsureDirectoryExists ("./output/tests/windows/x86");
|
||||
RunMSBuildWithPlatform ("./tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.sln", "x86");
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x86/Release/SkiaSharp.Tests.dll", new [] { "GPU" }, true);
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x86/Release/SkiaSharp.Tests.dll", null, true);
|
||||
CopyFileToDirectory ("./tests/SkiaSharp.Desktop.Tests/bin/x86/Release/TestResult.xml", "./output/tests/windows/x86");
|
||||
|
||||
EnsureDirectoryExists ("./output/tests/windows/x64");
|
||||
RunMSBuildWithPlatform ("./tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.sln", "x64");
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/SkiaSharp.Tests.dll", new [] { "GPU" }, false);
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/SkiaSharp.Tests.dll", null, false);
|
||||
CopyFileToDirectory ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/TestResult.xml", "./output/tests/windows/x64");
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,7 @@ Task ("tests")
|
|||
if (IsRunningOnMac ()) {
|
||||
EnsureDirectoryExists ("./output/tests/mac/AnyCPU");
|
||||
RunMSBuild ("./tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.sln");
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/AnyCPU/Release/SkiaSharp.Tests.dll", new [] { "GPU" }, false);
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/AnyCPU/Release/SkiaSharp.Tests.dll", null, false);
|
||||
CopyFileToDirectory ("./tests/SkiaSharp.Desktop.Tests/bin/AnyCPU/Release/TestResult.xml", "./output/tests/mac/AnyCPU");
|
||||
}
|
||||
|
||||
|
@ -238,14 +238,14 @@ Task ("tests")
|
|||
if (IsRunningOnLinux ()) {
|
||||
EnsureDirectoryExists ("./output/tests/linux/x64");
|
||||
RunMSBuildWithPlatform ("./tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.sln", "x64");
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/SkiaSharp.Tests.dll", new [] { "GPU" }, false);
|
||||
RunTests ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/SkiaSharp.Tests.dll", null, false);
|
||||
CopyFileToDirectory ("./tests/SkiaSharp.Desktop.Tests/bin/x64/Release/TestResult.xml", "./output/tests/linux/x64");
|
||||
}
|
||||
|
||||
// .NET Core
|
||||
EnsureDirectoryExists ("./output/tests/netcore");
|
||||
RunNuGetRestore ("./tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.sln");
|
||||
RunNetCoreTests ("./tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj", new [] { "GPU" });
|
||||
RunNetCoreTests ("./tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj", null);
|
||||
CopyFileToDirectory ("./tests/SkiaSharp.NetCore.Tests/TestResult.xml", "./output/tests/netcore");
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче