Skip to content

Commit 40c9989

Browse files
authored
Adding a new stage to build servers (#17486)
* Adding a new stage to build servers * Addressing PR feedback * Added schedule to run devBuild pipeline every midnight * Ensure that hte builds run every day, no matter whether there were changes or not. * Disable PR builds
1 parent 13db519 commit 40c9989

File tree

1 file changed

+88
-2
lines changed

1 file changed

+88
-2
lines changed

.azure/pipelines/devBuilds.yml

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
# Configure which branches trigger builds
66
trigger: none
77

8+
# no PR builds
9+
pr: none
10+
11+
# Schedule this pipeline to run every midnight
12+
schedules:
13+
- cron: "0 0 * * *"
14+
displayName: Daily midnight Dev builds
15+
branches:
16+
include:
17+
- master
18+
always: true
19+
820
stages:
921
- stage: build_components
1022
displayName: Build Components
@@ -14,7 +26,7 @@ stages:
1426
parameters:
1527
codeSign: false
1628
jobName: Windows_build
17-
jobDisplayName: "Build: Windows x64/x86"
29+
jobDisplayName: "Build: Components"
1830
agentOs: Windows
1931
steps:
2032
- script: git submodule init
@@ -23,7 +35,81 @@ stages:
2335
- script: ./build.cmd
2436
-ci
2537
-arch x64
26-
/bl:artifacts/log/build.x64.binlog
38+
/bl:artifacts/log/build.components.x64.binlog
39+
displayName: Build x64
40+
artifacts:
41+
- name: Windows_Logs
42+
path: artifacts/log/
43+
publishOnError: true
44+
includeForks: true
45+
46+
- stage: build_servers
47+
displayName: Build Servers
48+
jobs:
49+
# Build servers on Windows (x64)
50+
- template: jobs/default-build.yml
51+
parameters:
52+
codeSign: false
53+
jobName: Windows_build
54+
jobDisplayName: "Build: Servers"
55+
agentOs: Windows
56+
steps:
57+
- script: git submodule init
58+
- script: git submodule update --recursive
59+
- script: cd ./src/Servers
60+
- script: ./build.cmd
61+
-ci
62+
-arch x64
63+
/bl:artifacts/log/build.servers.x64.binlog
64+
displayName: Build x64
65+
artifacts:
66+
- name: Windows_Logs
67+
path: artifacts/log/
68+
publishOnError: true
69+
includeForks: true
70+
71+
- stage: build_project_templates
72+
displayName: Build Project Templates
73+
jobs:
74+
# Build servers on Windows (x64)
75+
- template: jobs/default-build.yml
76+
parameters:
77+
codeSign: false
78+
jobName: Windows_build
79+
jobDisplayName: "Build: Project Templates"
80+
agentOs: Windows
81+
steps:
82+
- script: git submodule init
83+
- script: git submodule update --recursive
84+
- script: cd ./src/ProjectTemplates
85+
- script: ./build.cmd
86+
-ci
87+
-arch x64
88+
/bl:artifacts/log/build.projectTemplates.x64.binlog
89+
displayName: Build x64
90+
artifacts:
91+
- name: Windows_Logs
92+
path: artifacts/log/
93+
publishOnError: true
94+
includeForks: true
95+
96+
- stage: build_all
97+
displayName: Build Everything
98+
jobs:
99+
# Build servers on Windows (x64)
100+
- template: jobs/default-build.yml
101+
parameters:
102+
codeSign: false
103+
jobName: Windows_build
104+
jobDisplayName: "Build: Everything"
105+
agentOs: Windows
106+
steps:
107+
- script: git submodule init
108+
- script: git submodule update --recursive
109+
- script: ./build.cmd
110+
-ci
111+
-arch x64
112+
/bl:artifacts/log/build.all.x64.binlog
27113
displayName: Build x64
28114
artifacts:
29115
- name: Windows_Logs

0 commit comments

Comments
 (0)