PathtoPublish: 'icu4c/source/dist/icu-windows.zip'
ArtifactName: '$(Build.BuildNumber)_ICU4C_MSVC_x86_Release'
#-------------------------------------------------------------------------
-- job: ICU4C_MSVC_x64_ARM32_ARM64_Release
- displayName: 'C: MSVC x64 ARM32 ARM64 Release (VS 2017)'
+- job: ICU4C_MSVC_x64_ARM32_ARM64_Release_Distrelease
+ displayName: 'C: MSVC x64 ARM32 ARM64 Release (VS 2017) + Distrelease ARM64'
timeoutInMinutes: 60
pool:
vmImage: 'vs2017-win2016'
solution: icu4c/source/allinone/allinone.sln
platform: ARM64
configuration: Release
+ - task: PowerShell@2
+ displayName: 'PowerShell: Distrelease script (ARM64)'
+ inputs:
+ targetType: filePath
+ filePath: 'icu4c/packaging/distrelease.ps1'
+ arguments: '-arch ARM64'
+ workingDirectory: icu4c
+ - task: PublishBuildArtifacts@1
+ displayName: 'Publish ARM64 Artifacts: icu-windows.zip'
+ inputs:
+ PathtoPublish: 'icu4c/source/dist/icu-windows.zip'
+ ArtifactName: '$(Build.BuildNumber)_ICU4C_MSVC_ARM64_Release'
#-------------------------------------------------------------------------
- job: ICU4C_MSVC_x64_Release_DataFilter
displayName: 'C: MSVC 64-bit Release DataFilter (VS 2017)'
# (bring up Powershell ISE)
# cd C:\icu\icu4c\
# Set-ExecutionPolicy -Scope Process Unrestricted
-# .\packaging\distrelease.ps1 -arch "x64 or x86"
+# .\packaging\distrelease.ps1 -arch "x64 or x86 or ARM64"
#
# Will emit: c:\icu4c\icu\source\dist\icu-windows.zip
#
Copy-Item -Path "$icuDir\lib" -Destination $source -Recurse
Copy-Item -Path "$icuDir\bin" -Destination $source -Recurse
}
+elseif ($arch -eq "ARM64")
+{
+ Copy-Item -Path "$icuDir\libARM64" -Destination $source -Recurse
+ Copy-Item -Path "$icuDir\binARM64" -Destination $source -Recurse
+}
else
{
$filename = $MyInvocation.MyCommand.Name;