-
Notifications
You must be signed in to change notification settings - Fork 76
/
azure-pipelines-PR.yml
81 lines (75 loc) · 1.76 KB
/
azure-pipelines-PR.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
trigger:
- main
pr:
- main
variables:
- template: eng/common-variables.yml
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/common/templates/jobs/jobs.yml
parameters:
workspace:
clean: all
jobs:
- job: Windows_NT
timeoutInMinutes: 90
pool:
name: NetCore-Public
demands: ImageOverride -equals Windows.vs2022.amd64.open
strategy:
matrix:
Build_Debug:
_BuildConfig: Debug
preSteps:
- checkout: self
clean: true
steps:
- task: UseDotNet@2
displayName: Get .NET Core SDK
inputs:
version: 8.x
- task: DotNetCoreCLI@2
displayName: Run Tests
inputs:
command: test
- job: LinuxTests
timeoutInMinutes: 30
pool:
name: NetCore-Public
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
steps:
- checkout: self
displayName: Checkout Self
clean: true
- task: UseDotNet@2
displayName: Get .NET Core SDK
inputs:
version: 8.x
- script: |
chmod u+x src/dotnet-install.sh
displayName: 'Add permission to execute'
- task: DotNetCoreCLI@2
displayName: Run Tests
inputs:
command: test
- job: MacOSTests
timeoutInMinutes: 30
pool:
vmImage: 'macOS-latest'
steps:
- checkout: self
displayName: Checkout Self
clean: true
- task: UseDotNet@2
displayName: Get .NET Core SDK
inputs:
version: 8.x
- script: |
chmod u+x src/dotnet-install.sh
displayName: 'Add permission to execute'
- task: DotNetCoreCLI@2
displayName: Run Tests
inputs:
command: test