@@ -56,11 +56,6 @@ parameters:
56
56
- x64
57
57
- x86
58
58
- arm64
59
- - name : buildWindowsVersions
60
- type : object
61
- default :
62
- - Win10
63
- - Win11
64
59
65
60
variables :
66
61
MakeAppxPath : ' C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\MakeAppx.exe'
@@ -87,13 +82,6 @@ variables:
87
82
NuGetPackBetaVersion : preview
88
83
${{ elseif eq(variables['Build.SourceBranchName'], 'main') }} :
89
84
NuGetPackBetaVersion : experimental
90
- # The NuGet packages have to use *somebody's* DLLs. We used to force them to
91
- # use the Win10 build outputs, but if there isn't a Win10 build we should use
92
- # the Win11 one.
93
- ${{ if containsValue(parameters.buildWindowsVersions, 'Win10') }} :
94
- TerminalBestVersionForNuGetPackages : Win10
95
- ${{ else }} :
96
- TerminalBestVersionForNuGetPackages : Win11
97
85
98
86
name : $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
99
87
resources :
@@ -107,11 +95,9 @@ jobs:
107
95
matrix :
108
96
${{ each config in parameters.buildConfigurations }} :
109
97
${{ each platform in parameters.buildPlatforms }} :
110
- ${{ each windowsVersion in parameters.buildWindowsVersions }} :
111
- ${{ config }}_${{ platform }}_${{ windowsVersion }} :
112
- BuildConfiguration : ${{ config }}
113
- BuildPlatform : ${{ platform }}
114
- TerminalTargetWindowsVersion : ${{ windowsVersion }}
98
+ ${{ config }}_${{ platform }} :
99
+ BuildConfiguration : ${{ config }}
100
+ BuildPlatform : ${{ platform }}
115
101
displayName : Build
116
102
timeoutInMinutes : 240
117
103
cancelTimeoutInMinutes : 1
@@ -185,10 +171,6 @@ jobs:
185
171
arguments : -MarkdownNoticePath .\NOTICE.md -OutputPath .\src\cascadia\CascadiaPackage\NOTICE.html
186
172
pwsh : true
187
173
- ${{ if eq(parameters.buildTerminal, true) }} :
188
- - pwsh : |-
189
- ./build/scripts/Patch-ManifestsToWindowsVersion.ps1 -NewWindowsVersion "10.0.22000.0"
190
- displayName: Update manifest target version to Win11 (if necessary)
191
- condition: and(succeeded(), eq(variables['TerminalTargetWindowsVersion'], 'Win11'))
192
174
- task : VSBuild@1
193
175
displayName : Build solution **\OpenConsole.sln
194
176
condition : true
@@ -205,7 +187,7 @@ jobs:
205
187
continueOnError : True
206
188
inputs :
207
189
PathtoPublish : $(Build.SourcesDirectory)\msbuild.binlog
208
- ArtifactName : binlog-$(BuildPlatform)-$(TerminalTargetWindowsVersion)
190
+ ArtifactName : binlog-$(BuildPlatform)
209
191
- task : PowerShell@2
210
192
displayName : Check MSIX for common regressions
211
193
inputs :
@@ -297,7 +279,7 @@ jobs:
297
279
displayName : Publish Artifact (appx)
298
280
inputs :
299
281
PathtoPublish : $(Build.ArtifactStagingDirectory)/appx
300
- ArtifactName : appx-$(BuildPlatform)-$(BuildConfiguration)-$(TerminalTargetWindowsVersion)
282
+ ArtifactName : appx-$(BuildPlatform)-$(BuildConfiguration)
301
283
- ${{ if eq(parameters.buildConPTY, true) }} :
302
284
- task : CopyFiles@2
303
285
displayName : Copy ConPTY to Artifacts
@@ -315,7 +297,7 @@ jobs:
315
297
displayName : Publish Artifact (ConPTY)
316
298
inputs :
317
299
PathtoPublish : $(Build.ArtifactStagingDirectory)/conpty
318
- ArtifactName : conpty-dll-$(BuildPlatform)-$(BuildConfiguration)-$(TerminalTargetWindowsVersion)
300
+ ArtifactName : conpty-dll-$(BuildPlatform)-$(BuildConfiguration)
319
301
- ${{ if eq(parameters.buildWPF, true) }} :
320
302
- task : CopyFiles@2
321
303
displayName : Copy PublicTerminalCore.dll to Artifacts
@@ -329,7 +311,7 @@ jobs:
329
311
displayName : Publish Artifact (PublicTerminalCore)
330
312
inputs :
331
313
PathtoPublish : $(Build.ArtifactStagingDirectory)/wpf
332
- ArtifactName : wpf-dll-$(BuildPlatform)-$(BuildConfiguration)-$(TerminalTargetWindowsVersion)
314
+ ArtifactName : wpf-dll-$(BuildPlatform)-$(BuildConfiguration)
333
315
334
316
- task : PublishSymbols@2
335
317
displayName : Publish symbols path
@@ -347,11 +329,6 @@ jobs:
347
329
348
330
- ${{ if eq(parameters.buildTerminal, true) }} :
349
331
- job : BundleAndSign
350
- strategy :
351
- matrix :
352
- ${{ each windowsVersion in parameters.buildWindowsVersions }} :
353
- ${{ windowsVersion }} :
354
- TerminalTargetWindowsVersion : ${{ windowsVersion }}
355
332
displayName : Create and sign AppX/MSIX bundles
356
333
variables :
357
334
${{ if eq(parameters.branding, 'Release') }} :
@@ -373,9 +350,9 @@ jobs:
373
350
disableOutputRedirect : true
374
351
- ${{ each platform in parameters.buildPlatforms }} :
375
352
- task : DownloadBuildArtifacts@0
376
- displayName : Download Artifacts ${{ platform }} $(TerminalTargetWindowsVersion)
353
+ displayName : Download Artifacts ${{ platform }}
377
354
inputs :
378
- artifactName : appx-${{ platform }}-Release-$(TerminalTargetWindowsVersion)
355
+ artifactName : appx-${{ platform }}-Release
379
356
# Add 3000 to the major version component, but only for the bundle.
380
357
# This is to ensure that it is newer than "2022.xx.yy.zz" or whatever the original bundle versions were before
381
358
# we switched to uniform naming.
@@ -385,7 +362,7 @@ jobs:
385
362
$Components[0] = ([int]$Components[0] + $VersionEpoch)
386
363
$BundleVersion = $Components -Join "."
387
364
New-Item -Type Directory "$(System.ArtifactsDirectory)\bundle"
388
- .\build\scripts\Create-AppxBundle.ps1 -InputPath "$(System.ArtifactsDirectory)" -ProjectName CascadiaPackage -BundleVersion $BundleVersion -OutputPath "$(System.ArtifactsDirectory)\bundle\$(BundleStemName)_$(TerminalTargetWindowsVersion)_$( XES_APPXMANIFESTVERSION)_8wekyb3d8bbwe.msixbundle"
365
+ .\build\scripts\Create-AppxBundle.ps1 -InputPath "$(System.ArtifactsDirectory)" -ProjectName CascadiaPackage -BundleVersion $BundleVersion -OutputPath "$(System.ArtifactsDirectory)\bundle\$(BundleStemName)_$(XES_APPXMANIFESTVERSION)_8wekyb3d8bbwe.msixbundle"
389
366
displayName: Create WindowsTerminal*.msixbundle
390
367
- task : EsrpCodeSigning@1
391
368
displayName : Submit *.msixbundle to ESRP for code signing
@@ -426,7 +403,7 @@ jobs:
426
403
displayName : ' Publish Artifact: appxbundle-signed'
427
404
inputs :
428
405
PathtoPublish : $(System.ArtifactsDirectory)\bundle
429
- ArtifactName : appxbundle-signed-$(TerminalTargetWindowsVersion)
406
+ ArtifactName : appxbundle-signed
430
407
431
408
- ${{ if eq(parameters.buildConPTY, true) }} :
432
409
- job : PackageAndSignConPTY
@@ -451,7 +428,7 @@ jobs:
451
428
- task : DownloadBuildArtifacts@0
452
429
displayName : Download ${{ platform }} ConPTY binaries
453
430
inputs :
454
- artifactName : conpty-dll-${{ platform }}-$(BuildConfiguration)-$(TerminalBestVersionForNuGetPackages)
431
+ artifactName : conpty-dll-${{ platform }}-$(BuildConfiguration)
455
432
downloadPath : bin\${{ platform }}\$(BuildConfiguration)\
456
433
extractTars : false
457
434
- task : PowerShell@2
@@ -542,7 +519,7 @@ jobs:
542
519
- task : DownloadBuildArtifacts@0
543
520
displayName : Download ${{ platform }} PublicTerminalCore
544
521
inputs :
545
- artifactName : wpf-dll-${{ platform }}-$(BuildConfiguration)-$(TerminalBestVersionForNuGetPackages)
522
+ artifactName : wpf-dll-${{ platform }}-$(BuildConfiguration)
546
523
itemPattern : ' **/*.dll'
547
524
downloadPath : bin\${{ platform }}\$(BuildConfiguration)\
548
525
extractTars : false
@@ -640,11 +617,10 @@ jobs:
640
617
641
618
# Download the appx-PLATFORM-CONFIG-VERSION artifact for every platform/version combo
642
619
- ${{ each platform in parameters.buildPlatforms }} :
643
- - ${{ each windowsVersion in parameters.buildWindowsVersions }} :
644
- - task : DownloadBuildArtifacts@0
645
- displayName : Download Symbols ${{ platform }} ${{ windowsVersion }}
646
- inputs :
647
- artifactName : appx-${{ platform }}-Release-${{ windowsVersion }}
620
+ - task : DownloadBuildArtifacts@0
621
+ displayName : Download Symbols ${{ platform }}
622
+ inputs :
623
+ artifactName : appx-${{ platform }}-Release
648
624
649
625
# It seems easier to do this -- download every appxsym -- then enumerate all the PDBs in the build directory for the
650
626
# public symbol push. Otherwise, we would have to list all of the PDB files one by one.
@@ -704,7 +680,7 @@ jobs:
704
680
- task : DownloadBuildArtifacts@0
705
681
displayName : Download Build Artifacts
706
682
inputs :
707
- artifactName : appxbundle-signed-Win11
683
+ artifactName : appxbundle-signed
708
684
extractTars : false
709
685
- task : PowerShell@2
710
686
displayName : Rename and stage packages for vpack
@@ -713,21 +689,21 @@ jobs:
713
689
script : >-
714
690
# Rename to known/fixed name for Windows build system
715
691
716
- Get-ChildItem Microsoft.WindowsTerminal_Win11_ *.msixbundle | Rename-Item -NewName { 'Microsoft.WindowsTerminal_8wekyb3d8bbwe.msixbundle' }
692
+ Get-ChildItem Microsoft.WindowsTerminal_ *.msixbundle | Rename-Item -NewName { 'Microsoft.WindowsTerminal_8wekyb3d8bbwe.msixbundle' }
717
693
718
694
719
695
# Create vpack directory and place item inside
720
696
721
697
mkdir WindowsTerminal.app
722
698
723
699
mv Microsoft.WindowsTerminal_8wekyb3d8bbwe.msixbundle .\WindowsTerminal.app\
724
- workingDirectory : $(System.ArtifactsDirectory)\appxbundle-signed-Win11
700
+ workingDirectory : $(System.ArtifactsDirectory)\appxbundle-signed
725
701
- task : PkgESVPack@12
726
702
displayName : ' Package ES - VPack'
727
703
env :
728
704
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
729
705
inputs :
730
- sourceDirectory : $(System.ArtifactsDirectory)\appxbundle-signed-Win11 \WindowsTerminal.app
706
+ sourceDirectory : $(System.ArtifactsDirectory)\appxbundle-signed\WindowsTerminal.app
731
707
description : VPack for the Windows Terminal Application
732
708
pushPkgName : WindowsTerminal.app
733
709
owner : conhost
0 commit comments