Skip to content

Commit

Permalink
Fix OD engine installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Oct 21, 2023
1 parent a2b4d97 commit 72e363a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,10 @@ async ValueTask MoveDirs()
await Task.WhenAll(
dirs.Select(
dir => IOManager.MoveDirectory(
IOManager.ConcatPath(
deployPath,
dir),
dir,
IOManager.ConcatPath(
installPath,
dir),
IOManager.GetFileName(dir)),
cancellationToken)));
}

Expand All @@ -264,12 +262,10 @@ async ValueTask MoveFiles()
await Task.WhenAll(
files.Select(
file => IOManager.MoveFile(
IOManager.ConcatPath(
deployPath,
file),
file,
IOManager.ConcatPath(
installPath,
file),
IOManager.GetFileName(file)),
cancellationToken)));
}

Expand Down Expand Up @@ -321,7 +317,7 @@ protected void GetExecutablePaths(string installationPath, out string serverExeP
installationPath,
BinDir,
ServerDir,
$"OpenDreamServer{exeExtension}");
$"Robust.Server{exeExtension}");

compilerExePath = IOManager.ConcatPath(
installationPath,
Expand Down
20 changes: 10 additions & 10 deletions tests/Tgstation.Server.Tests/Live/TestLiveServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,15 +1376,6 @@ async Task FailFast(Task task)

async Task RunInstanceTests()
{
var byondApiCompatTests = FailFast(
instanceTest
.RunLegacyByondTest(
adminClient.Instances.CreateClient(byondApiCompatInstance),
cancellationToken));

if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
await byondApiCompatTests;

var odCompatTests = FailFast(
instanceTest
.RunCompatTests(
Expand All @@ -1395,9 +1386,18 @@ await EngineTest.GetEdgeVersion(EngineType.OpenDream, fileDownloader, cancellati
server.HighPriorityDreamDaemon,
cancellationToken));

if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
//if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
await odCompatTests;

var byondApiCompatTests = FailFast(
instanceTest
.RunLegacyByondTest(
adminClient.Instances.CreateClient(byondApiCompatInstance),
cancellationToken));

if (TestingUtils.RunningInGitHubActions) // they only have 2 cores, can't handle intense parallelization
await byondApiCompatTests;

// Some earlier linux BYOND versions have a critical bug where replacing the directory in non-basic watchdogs causes the DreamDaemon cwd to change
var canRunCompatTests = new PlatformIdentifier().IsWindows;
var compatTests = canRunCompatTests
Expand Down

0 comments on commit 72e363a

Please sign in to comment.