-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipeline.yml
38 lines (38 loc) · 986 Bytes
/
azure-pipeline.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
name: SELENIUMCSHARP
trigger:
batch: true
branches:
include:
- main
pr: none
pool:
vmImage: 'windows-2022'
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
GitVersion.SemVer: ''
stages:
- stage: BuildAndTest
displayName: Build and test
jobs:
- job: BuildJob
displayName: Build and Test
timeoutInMinutes: 180
steps:
- task: DotNetCoreCLI@2
displayName: Restore NuGet packages
inputs:
command: restore
projects: '**/*.csproj'
- task: VSBuild@1
displayName: Build solution
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: VSTest@2
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'