-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathazure-pipelines.yml
45 lines (42 loc) · 1018 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
38
39
40
41
42
43
44
45
trigger:
- master
schedules:
- cron: '00 04 * * *'
displayName: Daily Build
branches:
include:
- master
always: true
variables:
ENV_AZURE_PIPELINE: true
CI_NAME: 'Azure DevOps'
CI_BRANCH: $(Build.SourceBranch)
CI_BUILD_NUMBER: $(Build.BuildNumber)
CI_BUILD_URL: $(Build.BuildUri)
stages:
- stage: UnitTests
jobs:
- job: Windows
pool:
vmImage: 'windows-latest'
steps:
- template: azure/templates/unit-tests.yml
- job: macOS
pool:
vmImage: 'macOS-latest'
steps:
- template: azure/templates/unit-tests.yml
- job: Linux
pool:
vmImage: 'ubuntu-latest'
steps:
- template: azure/templates/unit-tests.yml
- stage: SystemTests
dependsOn: []
condition: eq(variables['Build.Reason'], 'Schedule')
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-latest'
steps:
- template: azure/templates/system-tests.yml