-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
91 lines (76 loc) · 2.19 KB
/
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
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
82
83
84
85
86
87
88
89
90
91
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
branches:
include:
- master
paths:
exclude:
- azure-pipelines.yml
resources:
repositories:
- repository: ci
type: github
name: fermi-lat/ci
endpoint: fermi-lat
variables:
- group: Build Parameters
- name: repo
value: tip
stages:
#####################################
# Linux Stage - Microsoft Hosted VMs
#####################################
### Linux Build Stage ###
- stage: linux_build_stage
displayName: 'Building package on Ubuntu'
jobs:
- template: azure_templates/azure-buildrepolinux-template.yml@ci
parameters:
repo: '$(repo)'
### Linux Test Stage ###
- stage: linux_test_stage
displayName: 'Testing package on Ubuntu'
dependsOn: linux_build_stage
condition: succeeded('linux_build_stage')
jobs:
- template: azure_templates/azure-testrepolinux-template.yml@ci
parameters:
repo: '$(repo)'
#####################################
#####################################
# MacOS Stage - Microsoft Hosted VMs
#####################################
### MacOS Build Stage ###
- stage: macos_build_stage
displayName: 'Building package on MacOS'
dependsOn: []
jobs:
- template: azure_templates/azure-buildrepomacos-template.yml@ci
parameters:
repo: '$(repo)'
### MacOS Test Stage ###
- stage: macos_test_stage
displayName: 'Testing package on MacOS'
dependsOn: macos_build_stage
condition: succeeded('macos_build_stage')
jobs:
- template: azure_templates/azure-testrepomacos-template.yml@ci
parameters:
repo: '$(repo)'
#####################################
#####################################
# Fermitools-Conda Update Stage
#####################################
- stage: pipeline_launch_stage
displayName: 'Launch Fermitools CI Pipeline'
dependsOn:
- linux_test_stage
- macos_test_stage
condition: and(succeeded('linux_test_stage'), succeeded('macos_test_stage'))
jobs:
- template: azure_templates/azure-fermitoolsupdate-template.yml@ci
parameters:
repo: '$(repo)'