Skip to content

Commit a614c73

Browse files
authored
update azure-pipelines to test both windows and linux
1 parent 447557a commit a614c73

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
1-
# ASP.NET Core
2-
# Build and test ASP.NET Core projects targeting .NET Core.
3-
# Add steps that run tests, create a NuGet package, deploy, and more:
4-
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
5-
61
trigger:
72
- master
83

9-
pool:
10-
vmImage: 'VS2017-Win2016'
11-
12-
variables:
13-
buildConfiguration: 'Release'
14-
15-
16-
steps:
17-
- task: DotNetCoreInstaller@0
18-
inputs:
19-
packageType: 'sdk'
20-
version: '2.2.103'
21-
- script: build.bat canary
22-
displayName: build and unit test
4+
jobs:
5+
- job: Linux
6+
pool:
7+
vmImage: 'ubuntu-16.04'
8+
steps:
9+
- script: ./build.sh test-one skipdocs
10+
displayName: build and unit test
11+
- job: Windows
12+
pool:
13+
vmImage: 'vs2017-win2016'
14+
steps:
15+
- script: build.bat canary
16+
displayName: build and unit test

0 commit comments

Comments
 (0)