Browse Source

fix integration tests on c# 11

Dan Walmsley 3 years ago
parent
commit
91b7c11641
1 changed files with 15 additions and 0 deletions
  1. 15 0
      azure-pipelines-integrationtests.yml

+ 15 - 0
azure-pipelines-integrationtests.yml

@@ -12,6 +12,16 @@ jobs:
     name: 'AvaloniaMacPool'
 
   steps:
+  - task: UseDotNet@2
+    displayName: 'Use .NET Core SDK 6.0.401'
+    inputs:
+      version: 6.0.401
+
+  - task: UseDotNet@2
+    displayName: 'Use .NET Core SDK 7.0.100-rc.2.22477.23'
+    inputs:
+      version: 7.0.100-rc.2.22477.23
+      
   - script: system_profiler SPDisplaysDataType |grep Resolution
   
   - script: |
@@ -45,6 +55,11 @@ jobs:
     inputs:
       version: 6.0.401
 
+  - task: UseDotNet@2
+    displayName: 'Use .NET Core SDK 7.0.100-rc.2.22477.23'
+    inputs:
+      version: 7.0.100-rc.2.22477.23
+
   - task: Windows Application Driver@0
     inputs:
       OperationType: 'Start'