Browse Source

use cake 0.30

pull/1992/head
Dan Walmsley 8 years ago
parent
commit
0492989acb
  1. 24
      azure-pipelines.yml
  2. 1
      build.cake

24
azure-pipelines.yml

@ -8,11 +8,14 @@ jobs:
script: |
sudo apt-get update
sudo apt-get install castxml
- task: CmdLine@2
inputs:
dotnet tool install -g Cake.Tool --version 0.30.0
- script: |
dotnet --info
printenv
./build.sh --target "Azure-Linux" --configuration "Release"
dotnet cake build.cake -target="Azure-Linux" -configuration="Release"
- job: macOS
pool:
@ -26,15 +29,18 @@ jobs:
configuration: 'Release'
xcWorkspacePath: '**/*.xcodeproj/project.xcworkspace'
xcodeVersion: 'default' # Options: 8, 9, default, specifyPath
args: '-derivedDataPath ./'
args: '-derivedDataPath ./'
- task: CmdLine@2
inputs:
script: brew install castxml
- task: CmdLine@2
inputs:
dotnet tool install -g Cake.Tool --version 0.30.0
- script: |
dotnet --info
printenv
./build.sh --target "Azure-OSX" --configuration "Release"
printenv
dotnet cake build.cake -target="Azure-OSX" -configuration="Release"
- task: PublishBuildArtifacts@1
inputs:
@ -49,10 +55,12 @@ jobs:
pool:
vmImage: 'vs2017-win2016'
steps:
- task: PowerShell@2
inputs:
filePath: build.ps1
arguments: -target "Azure-Windows" -configuration "Release"
- task: CmdLine@2
inputs:
dotnet tool install -g Cake.Tool --version 0.30.0
- task: CmdLine@2
inputs:
dotnet cake build.cake -target="Azure-Windows" -configuration="Release"
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.SourcesDirectory)/artifacts/nuget'

1
build.cake

@ -20,7 +20,6 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NuGet;
///////////////////////////////////////////////////////////////////////////////
// SCRIPTS

Loading…
Cancel
Save