2 changed files with 66 additions and 12 deletions
@ -1,13 +1,54 @@ |
|||
pool: |
|||
vmImage: 'Ubuntu 16.04' |
|||
jobs: |
|||
- job: Linux |
|||
pool: |
|||
vmImage: 'ubuntu-16.04' |
|||
steps: |
|||
- task: DotNetCoreInstaller@0 |
|||
inputs: |
|||
version: '2.1.403' |
|||
- script: | |
|||
export COREHOST_TRACE=0 |
|||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 |
|||
export DOTNET_CLI_TELEMETRY_OPTOUT=1 |
|||
which dotnet |
|||
dotnet --info |
|||
dotnet tool install -g Cake.Tool --version 0.30.0 |
|||
export PATH="$PATH:$HOME/.dotnet/tools" |
|||
dotnet cake build.cake -Configuration="Release" -Target="Azure-Linux" |
|||
|
|||
- job: macOS |
|||
pool: |
|||
vmImage: 'xcode9-macos10.13' |
|||
steps: |
|||
- task: DotNetCoreInstaller@0 |
|||
inputs: |
|||
version: '2.1.403' |
|||
- script: | |
|||
export COREHOST_TRACE=0 |
|||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 |
|||
export DOTNET_CLI_TELEMETRY_OPTOUT=1 |
|||
which dotnet |
|||
dotnet --info |
|||
dotnet tool install -g Cake.Tool --version 0.30.0 |
|||
export PATH="$PATH:$HOME/.dotnet/tools" |
|||
dotnet cake build.cake -Configuration="Release" -Target="Azure-OSX" |
|||
|
|||
steps: |
|||
- task: cake-build.cake.cake-build-task.Cake@0 |
|||
displayName: 'Cake ' |
|||
inputs: |
|||
useBuildAgentNuGetExe: true |
|||
|
|||
- task: PublishBuildArtifacts@1 |
|||
displayName: 'Publish Artifact: drop' |
|||
inputs: |
|||
PathtoPublish: artifacts/ |
|||
- job: Windows |
|||
pool: |
|||
vmImage: 'vs2017-win2016' |
|||
steps: |
|||
- task: DotNetCoreInstaller@0 |
|||
inputs: |
|||
version: '2.1.403' |
|||
- script: | |
|||
set COREHOST_TRACE=0 |
|||
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 |
|||
set DOTNET_CLI_TELEMETRY_OPTOUT=1 |
|||
where dotnet |
|||
dotnet --info |
|||
dotnet tool install -g Cake.Tool --version 0.30.0 |
|||
set PATH=%PATH%;%USERPROFILE%\.dotnet\tools |
|||
dotnet cake build.cake -Configuration="Release" -Target="Azure-Windows" |
|||
- task: PublishBuildArtifacts@1 |
|||
inputs: |
|||
pathToPublish: artifacts/ |
|||
Loading…
Reference in new issue