Added a new CI definition to measure build time for certain areas (#17407)
* Added a new CI definition to measure build time for certain areas This pipeline is going to measure the time required to build certain areas. For now, adding only the `Components` build to try out the pipeline. * Incorporate PR feedback
This commit is contained in:
parent
fceb9e8ae4
commit
2d6b46e1b2
|
|
@ -0,0 +1,35 @@
|
|||
#
|
||||
# See https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema for details on this file.
|
||||
#
|
||||
|
||||
# Configure which branches trigger builds
|
||||
trigger:
|
||||
batch: true
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
|
||||
stages:
|
||||
- stage: build components
|
||||
displayName: Build Components
|
||||
jobs:
|
||||
# Build components on Windows (x64)
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
codeSign: false
|
||||
jobName: Windows_build
|
||||
jobDisplayName: "Build: Windows x64/x86"
|
||||
agentOs: Windows
|
||||
steps:
|
||||
- script: cd ./src/Components
|
||||
- script: ./build.cmd
|
||||
-ci
|
||||
-arch x64
|
||||
/bl:artifacts/log/build.x64.binlog
|
||||
$(_BuildArgs)
|
||||
displayName: Build x64
|
||||
artifacts:
|
||||
- name: Windows_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
Loading…
Reference in New Issue