File tree Expand file tree Collapse file tree 2 files changed +31
-16
lines changed Expand file tree Collapse file tree 2 files changed +31
-16
lines changed Original file line number Diff line number Diff line change @@ -86,17 +86,39 @@ extends:
86
86
87
87
- job : BuildWin_x64
88
88
dependsOn : SetPackageVersion
89
+ variables :
90
+ ob_sdl_tsa_configFile : ' $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
91
+ ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
92
+ signSrcPath : ' $(Build.SourcesDirectory)\out'
93
+ ob_sdl_sbom_enabled : true
94
+ ob_signing_setup_enabled : true
95
+ ob_sdl_codeql_compiled_enabled : true
96
+ pool :
97
+ type : windows
89
98
steps :
90
99
- template : .pipelines/DSC-Windows.yml@self
91
100
parameters :
92
101
buildName : x86_64-pc-windows-msvc
102
+ signSrcPath : ' $(signSrcPath)'
103
+ PackageRoot : ' $(PackageRoot)'
93
104
94
105
- job : BuildWin_arm64
95
106
dependsOn : SetPackageVersion
107
+ variables :
108
+ ob_sdl_tsa_configFile : ' $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
109
+ ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
110
+ signSrcPath : ' $(Build.SourcesDirectory)\out'
111
+ ob_sdl_sbom_enabled : true
112
+ ob_signing_setup_enabled : true
113
+ ob_sdl_codeql_compiled_enabled : true
114
+ pool :
115
+ type : windows
96
116
steps :
97
117
- template : .pipelines/DSC-Windows.yml@self
98
118
parameters :
99
119
buildName : aarch64-pc-windows-msvc
120
+ signSrcPath : ' $(signSrcPath)'
121
+ PackageRoot : ' $(PackageRoot)'
100
122
101
123
- job : CreateMsixBundle
102
124
dependsOn :
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
- name : buildName
3
3
type : string
4
-
5
- variables :
6
- buildName : x86_64-pc-windows-msvc
7
- PackageVersion : $[ dependencies.SetPackageVersion.outputs['Package.Version'] ]
8
- ob_sdl_tsa_configFile : ' $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
9
- ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
10
- repoRoot : ' $(Build.SourcesDirectory)\DSC'
11
- signSrcPath : ' $(Build.SourcesDirectory)\out'
12
- ob_sdl_sbom_enabled : true
13
- ob_signing_setup_enabled : true
14
- ob_sdl_codeql_compiled_enabled : true
15
-
16
- pool :
17
- type : windows
4
+ - name : signSrcPath
5
+ type : string
6
+ - name : PackageRoot
7
+ type : string
8
+ - name : BuildConfiguration
9
+ type : string
10
+ default : Release
18
11
19
12
steps :
20
13
- checkout : self
@@ -95,12 +88,12 @@ steps:
95
88
- pwsh : |
96
89
Set-Location "$(Build.SourcesDirectory)/DSC"
97
90
./build.ps1 -PackageType zip -Architecture $(buildName) -Release
98
- Copy-Item ./bin/*.zip "$(ob_outputDirectory )" -Verbose
91
+ Copy-Item ./bin/*.zip "$(Build.ArtifactStagingDirectory )" -Verbose
99
92
displayName : ' Zip $(buildName)'
100
93
condition : succeeded()
101
94
- pwsh : |
102
95
Set-Location "$(Build.SourcesDirectory)/DSC"
103
96
./build.ps1 -PackageType msix -Architecture $(buildName) -Release -UseX64MakeAppx
104
- Copy-Item ./bin/msix/*.msix "$(ob_outputDirectory )" -Verbose
97
+ Copy-Item ./bin/msix/*.msix "$(Build.ArtifactStagingDirectory )" -Verbose
105
98
displayName : ' Create msix for $(buildName)'
106
99
condition : succeeded()
You can’t perform that action at this time.
0 commit comments