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
This commit is contained in:
Artak 2019-12-03 16:07:38 -08:00 committed by GitHub
parent 13db519bc3
commit 40c99894e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 88 additions and 2 deletions

View File

@ -5,6 +5,18 @@
# Configure which branches trigger builds
trigger: none
# no PR builds
pr: none
# Schedule this pipeline to run every midnight
schedules:
- cron: "0 0 * * *"
displayName: Daily midnight Dev builds
branches:
include:
- master
always: true
stages:
- stage: build_components
displayName: Build Components
@ -14,7 +26,7 @@ stages:
parameters:
codeSign: false
jobName: Windows_build
jobDisplayName: "Build: Windows x64/x86"
jobDisplayName: "Build: Components"
agentOs: Windows
steps:
- script: git submodule init
@ -23,7 +35,81 @@ stages:
- script: ./build.cmd
-ci
-arch x64
/bl:artifacts/log/build.x64.binlog
/bl:artifacts/log/build.components.x64.binlog
displayName: Build x64
artifacts:
- name: Windows_Logs
path: artifacts/log/
publishOnError: true
includeForks: true
- stage: build_servers
displayName: Build Servers
jobs:
# Build servers on Windows (x64)
- template: jobs/default-build.yml
parameters:
codeSign: false
jobName: Windows_build
jobDisplayName: "Build: Servers"
agentOs: Windows
steps:
- script: git submodule init
- script: git submodule update --recursive
- script: cd ./src/Servers
- script: ./build.cmd
-ci
-arch x64
/bl:artifacts/log/build.servers.x64.binlog
displayName: Build x64
artifacts:
- name: Windows_Logs
path: artifacts/log/
publishOnError: true
includeForks: true
- stage: build_project_templates
displayName: Build Project Templates
jobs:
# Build servers on Windows (x64)
- template: jobs/default-build.yml
parameters:
codeSign: false
jobName: Windows_build
jobDisplayName: "Build: Project Templates"
agentOs: Windows
steps:
- script: git submodule init
- script: git submodule update --recursive
- script: cd ./src/ProjectTemplates
- script: ./build.cmd
-ci
-arch x64
/bl:artifacts/log/build.projectTemplates.x64.binlog
displayName: Build x64
artifacts:
- name: Windows_Logs
path: artifacts/log/
publishOnError: true
includeForks: true
- stage: build_all
displayName: Build Everything
jobs:
# Build servers on Windows (x64)
- template: jobs/default-build.yml
parameters:
codeSign: false
jobName: Windows_build
jobDisplayName: "Build: Everything"
agentOs: Windows
steps:
- script: git submodule init
- script: git submodule update --recursive
- script: ./build.cmd
-ci
-arch x64
/bl:artifacts/log/build.all.x64.binlog
displayName: Build x64
artifacts:
- name: Windows_Logs