mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 20:42:19 -07:00
New: Add osx-arm64 and linux-musl-arm builds
This commit is contained in:
parent
947ad15af0
commit
b1165ee7c1
6 changed files with 34 additions and 16 deletions
19
build.sh
19
build.sh
|
@ -143,12 +143,13 @@ PackageLinux()
|
|||
PackageMacOS()
|
||||
{
|
||||
local framework="$1"
|
||||
local runtime="$2"
|
||||
|
||||
ProgressStart "Creating MacOS Package for $framework"
|
||||
ProgressStart "Creating $runtime Package for $framework"
|
||||
|
||||
local folder=$artifactsFolder/macos/$framework/Lidarr
|
||||
local folder=$artifactsFolder/$runtime/$framework/Lidarr
|
||||
|
||||
PackageFiles "$folder" "$framework" "osx-x64"
|
||||
PackageFiles "$folder" "$framework" "$runtime"
|
||||
|
||||
echo "Removing Service helpers"
|
||||
rm -f $folder/ServiceUninstall.*
|
||||
|
@ -170,10 +171,11 @@ PackageMacOS()
|
|||
PackageMacOSApp()
|
||||
{
|
||||
local framework="$1"
|
||||
local runtime="$2"
|
||||
|
||||
ProgressStart "Creating macOS App Package for $framework"
|
||||
ProgressStart "Creating $runtime App Package for $framework"
|
||||
|
||||
local folder=$artifactsFolder/macos-app/$framework
|
||||
local folder=$artifactsFolder/$runtime-app/$framework
|
||||
|
||||
rm -rf $folder
|
||||
mkdir -p $folder
|
||||
|
@ -181,7 +183,7 @@ PackageMacOSApp()
|
|||
mkdir -p $folder/Lidarr.app/Contents/MacOS
|
||||
|
||||
echo "Copying Binaries"
|
||||
cp -r $artifactsFolder/macos/$framework/Lidarr/* $folder/Lidarr.app/Contents/MacOS
|
||||
cp -r $artifactsFolder/$runtime/$framework/Lidarr/* $folder/Lidarr.app/Contents/MacOS
|
||||
|
||||
echo "Removing Update Folder"
|
||||
rm -r $folder/Lidarr.app/Contents/MacOS/Lidarr.Update
|
||||
|
@ -228,8 +230,8 @@ Package()
|
|||
PackageWindows "$framework" "$runtime"
|
||||
;;
|
||||
osx)
|
||||
PackageMacOS "$framework"
|
||||
PackageMacOSApp "$framework"
|
||||
PackageMacOS "$framework" "$runtime"
|
||||
PackageMacOSApp "$framework" "$runtime"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
@ -373,6 +375,7 @@ then
|
|||
Package "net6.0" "linux-musl-arm64"
|
||||
Package "net6.0" "linux-arm"
|
||||
Package "net6.0" "osx-x64"
|
||||
Package "net6.0" "osx-arm64"
|
||||
if [ "$ENABLE_BSD" = "YES" ];
|
||||
then
|
||||
Package "net6.0" "freebsd-x64"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue