From 3a7f974c8d3a694867845aecc43f25d6aa101fc1 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 20 Dec 2018 13:43:01 -0500 Subject: [PATCH 1/3] add arm32 package --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index edd53f512..3c60a0006 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,7 +35,10 @@ after_build: appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\linux.tar.gz" - + + appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\linux-arm.tar.gz" + + appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\windows-32bit.zip" From 4fef02754c3345a5436ede207c39989e3d9bad47 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 20 Dec 2018 13:47:09 -0500 Subject: [PATCH 2/3] add back arm packages --- build.cake | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/build.cake b/build.cake index 8333bd3a1..e8e4bb8c0 100644 --- a/build.cake +++ b/build.cake @@ -47,6 +47,7 @@ var windowsArtifactsFolder = artifactsFolder + "win10-x64/published"; var windows32BitArtifactsFolder = artifactsFolder + "win10-x86/published"; var osxArtifactsFolder = artifactsFolder + "osx-x64/published"; var linuxArtifactsFolder = artifactsFolder + "linux-x64/published"; +var linuxArmArtifactsFolder = artifactsFolder + "linux-arm/published"; var linuxArm64BitArtifactsFolder = artifactsFolder + "linux-arm64/published"; @@ -149,6 +150,7 @@ Task("Package") Zip(windows32BitArtifactsFolder +"/",artifactsFolder + "windows-32bit.zip"); GZipCompress(osxArtifactsFolder, artifactsFolder + "osx.tar.gz"); GZipCompress(linuxArtifactsFolder, artifactsFolder + "linux.tar.gz"); + GZipCompress(linuxArmArtifactsFolder, artifactsFolder + "linux-arm.tar.gz"); GZipCompress(linuxArm64BitArtifactsFolder, artifactsFolder + "linux-arm64.tar.gz"); }); @@ -158,6 +160,7 @@ Task("Publish") .IsDependentOn("Publish-Windows-32bit") .IsDependentOn("Publish-OSX") .IsDependentOn("Publish-Linux") + .IsDependentOn("Publish-Linux-ARM") .IsDependentOn("Publish-Linux-ARM-64Bit") .IsDependentOn("Package"); @@ -214,6 +217,20 @@ Task("Publish-Linux") DotNetCorePublish("./src/Ombi.Updater/Ombi.Updater.csproj", publishSettings); }); +Task("Publish-Linux-ARM") + .Does(() => +{ + publishSettings.Runtime = "linux-arm"; + publishSettings.OutputDirectory = Directory(buildDir) + Directory(frameworkVer+"/linux-arm/published"); + + DotNetCorePublish("./src/Ombi/Ombi.csproj", publishSettings); + CopyFile( + buildDir + "/"+frameworkVer+"/linux-arm/Swagger.xml", + buildDir + "/"+frameworkVer+"/linux-arm/published/Swagger.xml"); + + publishSettings.OutputDirectory = Directory(buildDir) + Directory(frameworkVer +"/linux-arm/published/updater"); + DotNetCorePublish("./src/Ombi.Updater/Ombi.Updater.csproj", publishSettings); +}); Task("Publish-Linux-ARM-64Bit") .Does(() => From 0e3720e217bd1a9b4ca4b0951ac11e68edf8cd8f Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 20 Dec 2018 13:48:24 -0500 Subject: [PATCH 3/3] add linux-arm runtime identifier --- src/Ombi/Ombi.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/Ombi.csproj b/src/Ombi/Ombi.csproj index 679d8dc7e..5821208a7 100644 --- a/src/Ombi/Ombi.csproj +++ b/src/Ombi/Ombi.csproj @@ -1,7 +1,7 @@  netcoreapp2.2 - win10-x64;win10-x86;osx-x64;linux-x64;linux-arm64; + win10-x64;win10-x86;osx-x64;linux-x64;linux-arm;linux-arm64; false Latest $(SemVer)