@@ -590,6 +590,10 @@ function Start-BuildPowerShellNativePackage
590590 [ValidateScript ({Test-Path $_ - PathType Leaf})]
591591 [string ] $LinuxAlpineZipPath ,
592592
593+ [Parameter (Mandatory = $true )]
594+ [ValidateScript ({Test-Path $_ - PathType Leaf})]
595+ [string ] $LinuxAlpineARM64ZipPath ,
596+
593597 [Parameter (Mandatory = $true )]
594598 [ValidateScript ({Test-Path $_ - PathType Leaf})]
595599 [string ] $macOSZipPath
@@ -611,20 +615,22 @@ function Start-BuildPowerShellNativePackage
611615 $BinFolderLinuxARM = Join-Path $tempExtractionPath " LinuxARM"
612616 $BinFolderLinuxARM64 = Join-Path $tempExtractionPath " LinuxARM64"
613617 $BinFolderLinuxAlpine = Join-Path $tempExtractionPath " LinuxAlpine"
618+ $BinFolderLinuxAlpineARM64 = Join-Path $tempExtractionPath " LinuxAlpineARM64"
614619 $BinFolderMacOS = Join-Path $tempExtractionPath " MacOS"
615620
616621 Expand-Archive - Path $WindowsX64ZipPath - DestinationPath $BinFolderX64 - Force
617622 Expand-Archive - Path $WindowsX86ZipPath - DestinationPath $BinFolderX86 - Force
618623 Expand-Archive - Path $WindowsARM64ZipPath - DestinationPath $BinFolderARM64 - Force
619624 Expand-Archive - Path $LinuxZipPath - DestinationPath $BinFolderLinux - Force
620625 Expand-Archive - Path $LinuxAlpineZipPath - DestinationPath $BinFolderLinuxAlpine - Force
626+ Expand-Archive - Path $LinuxAlpineARM64ZipPath - DestinationPath $BinFolderLinuxAlpineARM64 - Force
621627 Expand-Archive - Path $LinuxARMZipPath - DestinationPath $BinFolderLinuxARM - Force
622628 Expand-Archive - Path $LinuxARM64ZipPath - DestinationPath $BinFolderLinuxARM64 - Force
623629 Expand-Archive - Path $macOSZipPath - DestinationPath $BinFolderMacOS - Force
624630
625631 PlaceWindowsNativeBinaries - PackageRoot $PackageRoot - BinFolderX64 $BinFolderX64 - BinFolderX86 $BinFolderX86 - BinFolderARM64 $BinFolderARM64
626632
627- PlaceUnixBinaries - PackageRoot $PackageRoot - BinFolderLinux $BinFolderLinux - BinFolderLinuxARM $BinFolderLinuxARM - BinFolderLinuxARM64 $BinFolderLinuxARM64 - BinFolderOSX $BinFolderMacOS - BinFolderLinuxAlpine $BinFolderLinuxAlpine
633+ PlaceUnixBinaries - PackageRoot $PackageRoot - BinFolderLinux $BinFolderLinux - BinFolderLinuxARM $BinFolderLinuxARM - BinFolderLinuxARM64 $BinFolderLinuxARM64 - BinFolderOSX $BinFolderMacOS - BinFolderLinuxAlpine $BinFolderLinuxAlpine - BinFolderLinuxAlpineARM64 $BinFolderLinuxAlpineARM64
628634
629635 $Nuspec = @'
630636<?xml version="1.0" encoding="utf-8"?>
@@ -710,6 +716,10 @@ function PlaceUnixBinaries
710716 [ValidateScript ({Test-Path $_ - PathType Container})]
711717 $BinFolderLinuxAlpine ,
712718
719+ [Parameter (Mandatory = $true )]
720+ [ValidateScript ({Test-Path $_ - PathType Container})]
721+ $BinFolderLinuxAlpineARM64 ,
722+
713723 [Parameter (Mandatory = $true )]
714724 [ValidateScript ({Test-Path $_ - PathType Container})]
715725 $BinFolderOSX
@@ -719,12 +729,14 @@ function PlaceUnixBinaries
719729 $RuntimePathLinuxARM = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-arm/native' ) - Force
720730 $RuntimePathLinuxARM64 = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-arm64/native' ) - Force
721731 $RuntimePathLinuxAlpine = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-musl-x64/native' ) - Force
732+ $RuntimePathLinuxAlpineARM64 = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-musl-arm64/native' ) - Force
722733 $RuntimePathOSX = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/osx/native' ) - Force
723734
724735 Copy-Item " $BinFolderLinux \*" - Destination $RuntimePathLinux - Verbose
725736 Copy-Item " $BinFolderLinuxARM \*" - Destination $RuntimePathLinuxARM - Verbose
726737 Copy-Item " $BinFolderLinuxARM64 \*" - Destination $RuntimePathLinuxARM64 - Verbose
727738 Copy-Item " $BinFolderLinuxAlpine \*" - Destination $RuntimePathLinuxAlpine - Verbose
739+ Copy-Item " $BinFolderLinuxAlpineARM64 \*" - Destination $RuntimePathLinuxAlpineARM64 - Verbose
728740 Copy-Item " $BinFolderOSX \*" - Destination $RuntimePathOSX - Verbose
729741}
730742
0 commit comments