Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions NukeBuild/Build.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand All @@ -15,8 +15,10 @@ class Build : NukeBuild
{
[Parameter] readonly uint cloneDepth = 1000;
[Parameter] readonly AbsolutePath buildOutput = RootDirectory / "Build";

[Parameter] readonly AbsolutePath unityExecutable;
[Parameter] readonly UnityTestPlatform testPlatform = UnityTestPlatform.EditMode;

[Parameter] readonly UnityTestPlatform testPlatform = UnityTestPlatform.PlayMode;

private readonly AbsolutePath mainGameDir = RootDirectory / "UltraStar Play";
private readonly AbsolutePath companionAppDir = RootDirectory / "UltraStar Play Companion";
Expand Down Expand Up @@ -169,6 +171,7 @@ private void TestUnityProject(UnityProject unityProject, UnityTestPlatform unity
.SetTestResultFile(buildOutput / $"Nuke-TestResults-{unityProject}-{unityTestPlatform}.xml")
.SetProjectPath(unityProjectDir)
.SetTestPlatform(unityTestPlatform)
.SetStableExitCodes(0, 2)
);
}

Expand Down
Loading