forked from atsushieno/managed-midi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
55 lines (47 loc) · 1.18 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
trigger:
batch: true
branches:
include:
- master
jobs:
- job: windows
pool:
name: Hosted VS2017
demands:
- msbuild
- visualstudio
steps:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet 4.3.0'
inputs:
versionSpec: 4.3.0
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
inputs:
command: restore
projects: |
external/alsa-sharp/dotnetcore/**/*.csproj
Commons.Music.Midi.DotNetCore/*.csproj
- task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
projects: 'Commons.Music.Midi.DotNetCore/*.csproj'
- task: NuGetCommand@2
displayName: 'NuGet restore **\*.sln'
inputs:
restoreSolution: 'managed-midi.sln'
- task: VSBuild@1
displayName: 'Build solution **\*.sln'
inputs:
configuration: Debug
- task: NuGetCommand@2
displayName: 'NuGet pack'
inputs:
command: pack
packagesToPack: 'managed-midi.nuspec'
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
nuGetFeedType: external
publishFeedCredentials: nuget.org