This commit is contained in:
Benedikt Stebner
2022-10-05 16:01:29 +02:00
parent 6f91ca57da
commit 240b644650
17 changed files with 272 additions and 98 deletions
+7 -29
View File
@@ -31,14 +31,9 @@ jobs:
vmImage: 'ubuntu-20.04'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.1.418'
displayName: 'Use .NET Core SDK 6.0.401'
inputs:
version: 3.1.418
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 6.0.202'
inputs:
version: 6.0.202
version: 6.0.401
- task: CmdLine@2
displayName: 'Run Build'
@@ -62,22 +57,10 @@ jobs:
vmImage: 'macos-12'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.1.418'
displayName: 'Use .NET Core SDK 6.0.401'
inputs:
version: 3.1.418
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 6.0.202'
inputs:
version: 6.0.202
version: 6.0.401
- task: CmdLine@2
displayName: 'Install Mono 5.18'
inputs:
script: |
curl -o ./mono.pkg https://download.mono-project.com/archive/5.18.0/macos-10-universal/MonoFramework-MDK-5.18.0.225.macos10.xamarin.universal.pkg
sudo installer -verbose -pkg ./mono.pkg -target /
- task: CmdLine@2
displayName: 'Generate avalonia-native'
inputs:
@@ -134,14 +117,9 @@ jobs:
SolutionDir: '$(Build.SourcesDirectory)'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.1.418'
displayName: 'Use .NET Core SDK 6.0.401'
inputs:
version: 3.1.418
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 6.0.202'
inputs:
version: 6.0.202
version: 6.0.401
- task: CmdLine@2
displayName: 'Install Workloads'
@@ -153,7 +131,7 @@ jobs:
displayName: 'Install Nuke'
inputs:
script: |
dotnet tool install --global Nuke.GlobalTool --version 0.24.0
dotnet tool install --global Nuke.GlobalTool --version 6.2.1
- task: CmdLine@2
displayName: 'Run Nuke'