-
-
Notifications
You must be signed in to change notification settings - Fork 120
/
azure-pipelines.yml
37 lines (31 loc) · 989 Bytes
/
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
trigger:
- main
pool:
vmImage: "windows-latest"
steps:
- task: NuGetCommand@2
inputs:
command: "restore"
restoreSolution: "src/Device.Net.Pipelines.sln"
feedsToUse: "select"
- task: MSBuild@1
inputs:
solution: "src/Device.Net.Pipelines.sln"
configuration: "Release"
- task: NuGetCommand@2
inputs:
command: "pack"
packagesToPack: "Build/NuSpecs/*.nuspec"
versioningScheme: "off"
- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: 'src/Device.Net.UnitTests/Device.Net.UnitTests.csproj'
arguments: '--filter TestCategory!=NotPipelineReady'
testRunTitle: 'Unit Tests'
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: 'a579837a-f36e-462f-8492-1a622b5cadb9/f3bac9de-5bde-4855-b10a-d1fe458ac336'