|
@@ -34,11 +34,26 @@ stages:
|
|
|
|
|
|
steps:
|
|
|
- task: UseDotNet@2
|
|
|
- displayName: Use .NET Core 7.0.x SDK
|
|
|
+ displayName: Use .NET 8.0.x SDK
|
|
|
inputs:
|
|
|
- version: 7.0.x
|
|
|
+ version: 8.0.x
|
|
|
performMultiLevelLookup: true
|
|
|
|
|
|
+ # We need .NET 7.0 and 6.0 to be able to run all tests.
|
|
|
+ # For .NET 7.0, the runtime package is sufficient because we don't need to build anything.
|
|
|
+ # That doesn't work for 6.0, because we need the desktop framework, and the only way to
|
|
|
+ # get that into a build agent seems to be to install the SDK.
|
|
|
+ - task: UseDotNet@2
|
|
|
+ displayName: Use .NET 7.0 runtime
|
|
|
+ inputs:
|
|
|
+ version: '7.0.x'
|
|
|
+ packageType: runtime
|
|
|
+
|
|
|
+ - task: UseDotNet@2
|
|
|
+ displayName: Use .NET 6.0 SDK
|
|
|
+ inputs:
|
|
|
+ version: '6.0.x'
|
|
|
+
|
|
|
- task: DotNetCoreCLI@2
|
|
|
inputs:
|
|
|
command: custom
|
|
@@ -120,9 +135,16 @@ stages:
|
|
|
steps:
|
|
|
- task: UseDotNet@2
|
|
|
inputs:
|
|
|
- version: 7.0.x
|
|
|
+ version: 8.0.x
|
|
|
+
|
|
|
+ - task: UseDotNet@2
|
|
|
+ displayName: Use .NET 7.0 SDK
|
|
|
+ inputs:
|
|
|
+ version: '7.0.x'
|
|
|
+ packageType: runtime
|
|
|
|
|
|
- task: UseDotNet@2
|
|
|
+ displayName: Use .NET 6.0 SDK
|
|
|
inputs:
|
|
|
version: '6.0.x'
|
|
|
packageType: runtime
|
|
@@ -151,6 +173,13 @@ stages:
|
|
|
custom: restore
|
|
|
arguments: --configfile $(System.DefaultWorkingDirectory)/Rx.NET/Integration/NuGet.Config
|
|
|
|
|
|
+ - task: DotNetCoreCLI@2
|
|
|
+ inputs:
|
|
|
+ command: test
|
|
|
+ projects: $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LinuxTests/LinuxTests.csproj
|
|
|
+ arguments: -c $(BuildConfiguration) -f net8.0 --filter "TestCategory!=SkipCI"
|
|
|
+ displayName: Run 8.0 Tests on Linux
|
|
|
+
|
|
|
- task: DotNetCoreCLI@2
|
|
|
inputs:
|
|
|
command: test
|
|
@@ -177,9 +206,19 @@ stages:
|
|
|
steps:
|
|
|
- task: UseDotNet@2
|
|
|
inputs:
|
|
|
- version: 7.0.x
|
|
|
+ version: 8.0.x
|
|
|
performMultiLevelLookup: true
|
|
|
|
|
|
+ - task: UseDotNet@2
|
|
|
+ displayName: Use .NET 7.0 SDK
|
|
|
+ inputs:
|
|
|
+ version: '7.0.x'
|
|
|
+
|
|
|
+ - task: UseDotNet@2
|
|
|
+ displayName: Use .NET 6.0 SDK
|
|
|
+ inputs:
|
|
|
+ version: '6.0.x'
|
|
|
+
|
|
|
- task: DotNetCoreCLI@2
|
|
|
inputs:
|
|
|
command: custom
|