Browse Source

use pipelines sdk install task for linux and osx.

pull/6757/head
Dan Walmsley 5 years ago
parent
commit
ca4f95cc4f
  1. 24
      azure-pipelines.yml

24
azure-pipelines.yml

@ -3,11 +3,15 @@ jobs:
pool: pool:
vmImage: 'ubuntu-20.04' vmImage: 'ubuntu-20.04'
steps: steps:
- task: CmdLine@2 - task: UseDotNet@2
displayName: 'Download SDK' displayName: 'Use .NET Core SDK 3.1.401'
inputs: inputs:
script: | version: 3.1.401
./get-sdk.sh
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 5.0.402'
inputs:
version: 5.0.402
- task: CmdLine@2 - task: CmdLine@2
displayName: 'Run Build' displayName: 'Run Build'
inputs: inputs:
@ -28,11 +32,15 @@ jobs:
pool: pool:
vmImage: 'macOS-10.15' vmImage: 'macOS-10.15'
steps: steps:
- task: CmdLine@2 - task: UseDotNet@2
displayName: 'Download SDK' displayName: 'Use .NET Core SDK 3.1.401'
inputs: inputs:
script: | version: 3.1.401
./get-sdk.sh
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 5.0.402'
inputs:
version: 5.0.402
- task: CmdLine@2 - task: CmdLine@2
displayName: 'Install Mono 5.18' displayName: 'Install Mono 5.18'
inputs: inputs:

Loading…
Cancel
Save