Skip to content

Commit d79ca62

Browse files
committed
Merge branch 'feature/azure-pipelines-yaml' into develop
2 parents 62a43f7 + 6136bbb commit d79ca62

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

azure-pipelines.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
strategy:
2+
matrix:
3+
linux:
4+
imageName: 'ubuntu-16.04'
5+
mac:
6+
imageName: 'macos-10.15'
7+
windows:
8+
imageName: 'windows-2019'
9+
10+
pool:
11+
vmImage: $(imageName)
12+
13+
steps:
14+
- task: UseDotNet@2
15+
displayName: 'Use .NET Core sdk 2.1.202'
16+
inputs:
17+
version: 2.1.202
18+
19+
- task: UseDotNet@2
20+
displayName: 'Use .NET Core sdk'
21+
inputs:
22+
useGlobalJson: true
23+
24+
- task: Bash@3
25+
displayName: 'Bash Script'
26+
condition: ne( variables['Agent.OS'], 'Windows_NT' )
27+
inputs:
28+
targetType: filePath
29+
filePath: ./build.sh
30+
31+
- task: PowerShell@2
32+
displayName: 'PowerShell Script'
33+
condition: eq( variables['Agent.OS'], 'Windows_NT' )
34+
inputs:
35+
targetType: filePath
36+
filePath: ./build.ps1

0 commit comments

Comments
 (0)