Disable macOS .NET Core builds for now

This commit is contained in:
flightlevel 2019-03-04 17:44:05 +11:00
parent 9d140b3ab4
commit 064786f379
1 changed files with 14 additions and 5 deletions

View File

@ -165,7 +165,7 @@ Task("Package-DotNetCore-macOS")
CopyFileToDirectory("./install_service_macos", buildOutputPath); CopyFileToDirectory("./install_service_macos", buildOutputPath);
Gzip($"./BuildOutput/{netCoreFramework}/{runtimeId}", $"./{artifactsDirName}", "Jackett", "Jackett.Binaries.macOS.tar.gz"); Gzip($"./BuildOutput/{netCoreFramework}/{runtimeId}", $"./{artifactsDirName}", "Jackett", "Experimental.Jackett.Binaries.macOS.tar.gz");
}); });
Task("Package-DotNetCore-LinuxAMD64") Task("Package-DotNetCore-LinuxAMD64")
@ -174,8 +174,11 @@ Task("Package-DotNetCore-LinuxAMD64")
{ {
string runtimeId = "linux-x64"; string runtimeId = "linux-x64";
string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett"; string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett";
string updaterOutputPath = buildOutputPath + "/Updater";
DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath); DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath);
CopyFiles(updaterOutputPath + "/JackettUpdater*", buildOutputPath);
DeleteDirectory(updaterOutputPath, recursive:true);
CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath); CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath);
CopyFileToDirectory("./Upstart.config", buildOutputPath); CopyFileToDirectory("./Upstart.config", buildOutputPath);
@ -189,8 +192,11 @@ Task("Package-DotNetCore-LinuxARM32")
{ {
string runtimeId = "linux-arm"; string runtimeId = "linux-arm";
string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett"; string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett";
string updaterOutputPath = buildOutputPath + "/Updater";
DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath); DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath);
CopyFiles(updaterOutputPath + "/JackettUpdater*", buildOutputPath);
DeleteDirectory(updaterOutputPath, recursive:true);
CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath); CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath);
CopyFileToDirectory("./Upstart.config", buildOutputPath); CopyFileToDirectory("./Upstart.config", buildOutputPath);
@ -204,8 +210,11 @@ Task("Package-DotNetCore-LinuxARM64")
{ {
string runtimeId = "linux-arm64"; string runtimeId = "linux-arm64";
string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett"; string buildOutputPath = $"./BuildOutput/{netCoreFramework}/{runtimeId}/Jackett";
string updaterOutputPath = buildOutputPath + "/Updater";
DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath); DotNetCorePublish(serverProjectPath, netCoreFramework, runtimeId, buildOutputPath);
CopyFiles(updaterOutputPath + "/JackettUpdater*", buildOutputPath);
DeleteDirectory(updaterOutputPath, recursive:true);
CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath); CopyFileToDirectory("./install_service_systemd.sh", buildOutputPath);
CopyFileToDirectory("./Upstart.config", buildOutputPath); CopyFileToDirectory("./Upstart.config", buildOutputPath);
@ -282,9 +291,9 @@ Task("Windows-Environment")
.IsDependentOn("Package-Windows-Full-Framework") .IsDependentOn("Package-Windows-Full-Framework")
.IsDependentOn("Package-Mono-Full-Framework") .IsDependentOn("Package-Mono-Full-Framework")
//.IsDependentOn("Package-DotNetCore-macOS") //.IsDependentOn("Package-DotNetCore-macOS")
.IsDependentOn("Package-DotNetCore-LinuxAMD64") //.IsDependentOn("Package-DotNetCore-LinuxAMD64")
.IsDependentOn("Package-DotNetCore-LinuxARM32") //.IsDependentOn("Package-DotNetCore-LinuxARM32")
.IsDependentOn("Package-DotNetCore-LinuxARM64") //.IsDependentOn("Package-DotNetCore-LinuxARM64")
.IsDependentOn("Appveyor-Push-Artifacts") .IsDependentOn("Appveyor-Push-Artifacts")
.IsDependentOn("Release-Notes") .IsDependentOn("Release-Notes")
.Does(() => .Does(() =>