|
27 | 27 | - task: UseDotNet@2
|
28 | 28 | inputs:
|
29 | 29 | version: '7.x'
|
| 30 | + displayName: 'Install .NET 7' |
| 31 | + - task: UseDotNet@2 |
| 32 | + inputs: |
| 33 | + version: '8.x' |
| 34 | + displayName: 'Install .NET 8' |
30 | 35 | - powershell: ./build.ps1
|
31 | 36 | displayName: 'Build'
|
32 | 37 | - publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
|
@@ -123,6 +128,31 @@ jobs:
|
123 | 128 | - publish: $(Build.SourcesDirectory)/tests/frosting/net7/output
|
124 | 129 | artifact: Integration Tests Windows Server 2022 (Frosting .NET 7)
|
125 | 130 | displayName: 'Publish generated reports as build artifact'
|
| 131 | + # Integration Tests Windows Server 2022 (Frosting .NET 8) |
| 132 | + - job: Test_Windows_Frosting_Net8 |
| 133 | + displayName: Integration Tests Windows Server 2022 (Frosting .NET 8) |
| 134 | + dependsOn: Build |
| 135 | + pool: |
| 136 | + vmImage: 'windows-2022' |
| 137 | + steps: |
| 138 | + - task: UseDotNet@2 |
| 139 | + inputs: |
| 140 | + version: '8.x' |
| 141 | + displayName: 'Install .NET 8' |
| 142 | + - download: current |
| 143 | + artifact: NuGet Package |
| 144 | + displayName: 'Download build artifact' |
| 145 | + - task: CopyFiles@2 |
| 146 | + inputs: |
| 147 | + sourceFolder: $(Pipeline.Workspace)/NuGet Package |
| 148 | + targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet |
| 149 | + displayName: 'Copy build artifact for test run' |
| 150 | + - powershell: ./build.ps1 --verbosity=diagnostic |
| 151 | + workingDirectory: ./tests/frosting/net8 |
| 152 | + displayName: 'Run integration tests' |
| 153 | + - publish: $(Build.SourcesDirectory)/tests/frosting/net8/output |
| 154 | + artifact: Integration Tests Windows Server 2022 (Frosting .NET 8) |
| 155 | + displayName: 'Publish generated reports as build artifact' |
126 | 156 | # Integration Tests macOS 11 (.NET tool)
|
127 | 157 | - job: Test_macOS_DotNetTool
|
128 | 158 | displayName: Integration Tests macOS 11 (.NET tool)
|
@@ -205,6 +235,31 @@ jobs:
|
205 | 235 | - publish: $(Build.SourcesDirectory)/tests/frosting/net7/output
|
206 | 236 | artifact: Integration Tests macOS 13 (Frosting .NET 7)
|
207 | 237 | displayName: 'Publish generated reports as build artifact'
|
| 238 | + # Integration Tests macOS 13 (Frosting .NET 8) |
| 239 | + - job: Test_macOS_Frosting_Net8 |
| 240 | + displayName: Integration Tests macOS 13 (Frosting NET 8) |
| 241 | + dependsOn: Build |
| 242 | + pool: |
| 243 | + vmImage: 'macOS-13' |
| 244 | + steps: |
| 245 | + - task: UseDotNet@2 |
| 246 | + inputs: |
| 247 | + version: '8.x' |
| 248 | + displayName: 'Install .NET 8' |
| 249 | + - download: current |
| 250 | + artifact: NuGet Package |
| 251 | + displayName: 'Download build artifact' |
| 252 | + - task: CopyFiles@2 |
| 253 | + inputs: |
| 254 | + sourceFolder: $(Pipeline.Workspace)/NuGet Package |
| 255 | + targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet |
| 256 | + displayName: 'Copy build artifact for test run' |
| 257 | + - bash: ./build.sh --verbosity=diagnostic |
| 258 | + workingDirectory: ./tests/frosting/net8 |
| 259 | + displayName: 'Run integration tests' |
| 260 | + - publish: $(Build.SourcesDirectory)/tests/frosting/net8/output |
| 261 | + artifact: Integration Tests macOS 13 (Frosting .NET 8) |
| 262 | + displayName: 'Publish generated reports as build artifact' |
208 | 263 | # Integration Tests Ubuntu 20.04 (.NET tool)
|
209 | 264 | - job: Test_Ubuntu_DotNetTool
|
210 | 265 | displayName: Integration Tests Ubuntu 20.04 (.NET tool)
|
@@ -287,6 +342,31 @@ jobs:
|
287 | 342 | - publish: $(Build.SourcesDirectory)/tests/frosting/net7/output
|
288 | 343 | artifact: Integration Tests Ubuntu 22.04 (Frosting .NET 7)
|
289 | 344 | displayName: 'Publish generated reports as build artifact'
|
| 345 | + # Integration Tests Ubuntu 22.04 (Frosting .NET 8) |
| 346 | + - job: Test_Ubuntu_Frosting_Net8 |
| 347 | + displayName: Integration Tests Ubuntu 22.04 (Frosting .NET 8) |
| 348 | + dependsOn: Build |
| 349 | + pool: |
| 350 | + vmImage: 'ubuntu-22.04' |
| 351 | + steps: |
| 352 | + - task: UseDotNet@2 |
| 353 | + inputs: |
| 354 | + version: '8.x' |
| 355 | + displayName: 'Install .NET 8' |
| 356 | + - download: current |
| 357 | + artifact: NuGet Package |
| 358 | + displayName: 'Download build artifact' |
| 359 | + - task: CopyFiles@2 |
| 360 | + inputs: |
| 361 | + sourceFolder: $(Pipeline.Workspace)/NuGet Package |
| 362 | + targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet |
| 363 | + displayName: 'Copy build artifact for test run' |
| 364 | + - bash: ./build.sh --verbosity=diagnostic |
| 365 | + workingDirectory: ./tests/frosting/net8 |
| 366 | + displayName: 'Run integration tests' |
| 367 | + - publish: $(Build.SourcesDirectory)/tests/frosting/net8/output |
| 368 | + artifact: Integration Tests Ubuntu 22.04 (Frosting .NET 8) |
| 369 | + displayName: 'Publish generated reports as build artifact' |
290 | 370 | # SARIF file deployment
|
291 | 371 | # - job: Deploy_Sarif_Files
|
292 | 372 | # displayName: Sarif File deployment
|
|
0 commit comments