Merge commit 'd4febbd45d7f321528ac9d85500c6ef73da11c4d'

This commit is contained in:
Mirroring
2026-03-12 22:53:44 +00:00
4 changed files with 8 additions and 16 deletions
+4 -1
View File
@@ -22,7 +22,7 @@ variables:
BuildSolution: $(Build.SourcesDirectory)\dirs.proj
ReleaseTagVar: ${{ parameters.ReleaseTagVar }}
BuildConfiguration: Release
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest'
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
Codeql.Enabled: false # pipeline is not building artifacts; it repackages existing artifacts into a vpack
DOTNET_CLI_TELEMETRY_OPTOUT: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
@@ -46,6 +46,9 @@ resources:
extends:
template: v2/Microsoft.Official.yml@onebranchTemplates
parameters:
featureFlags:
WindowsHostVersion:
Version: 2022
platform:
name: 'windows_undocked' # windows undocked
@@ -68,7 +68,7 @@ variables:
- name: LinuxContainerImage
value: mcr.microsoft.com/onebranch/azurelinux/build:3.0
- name: WindowsContainerImage
value: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest
value: onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
- name: CDP_DEFINITION_BUILD_COUNT
value: $[counter('', 0)]
- name: ReleaseTagVar
@@ -105,6 +105,7 @@ extends:
LinuxHostVersion:
Network: KS3
WindowsHostVersion:
Version: 2022
Network: KS3
incrementalSDLBinaryAnalysis: true
globalSdl:
+1 -1
View File
@@ -41,7 +41,7 @@ variables:
- name: BuildConfiguration
value: Release
- name: WindowsContainerImage
value: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest'
value: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
- name: Codeql.Enabled
value: false # pipeline is not building artifacts; it repackages existing artifacts into a vpack
- name: DOTNET_CLI_TELEMETRY_OPTOUT
+1 -13
View File
@@ -2152,7 +2152,7 @@ function Get-PackageDependencies
# than the build version and we know that older versions just works.
#
$MinICUVersion = 60 # runtime minimum supported
$BuildICUVersion = Get-IcuLatestRelease
$BuildICUVersion = 76 # current build version
$MaxICUVersion = $BuildICUVersion + 30 # headroom
if ($Distribution -eq 'deb') {
@@ -5812,15 +5812,3 @@ function Test-IsProductFile {
return $false
}
# Get major version from latest ICU release (latest: stable version)
function Get-IcuLatestRelease {
$response = Invoke-WebRequest -Uri "https://github.com/unicode-org/icu/releases/latest"
$tagUrl = ($response.Links | Where-Object href -like "*releases/tag/release-*")[0].href
if ($tagUrl -match 'release-(\d+)\.') {
return [int]$Matches[1]
}
throw "Unable to determine the latest ICU release version."
}