2019-10-29 01:21:31 +03:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
# Licensed under the MIT License
|
2019-09-10 22:54:09 +03:00
|
|
|
name: $(TeamProject)-$(BuildDefinitionName)-$(SourceBranchName)-$(Date:yyyy.MM.dd)-$(Rev:rr)
|
|
|
|
|
2019-09-11 03:07:03 +03:00
|
|
|
trigger: none
|
|
|
|
|
2019-10-08 21:24:48 +03:00
|
|
|
resources:
|
|
|
|
containers:
|
|
|
|
- container: universal_linux
|
|
|
|
image: universal_linux
|
|
|
|
endpoint: featurizersbuild
|
|
|
|
|
2019-12-12 19:08:48 +03:00
|
|
|
- container: centos7
|
|
|
|
image: centos7
|
|
|
|
endpoint: featurizersbuild
|
|
|
|
|
2019-09-10 22:54:09 +03:00
|
|
|
stages:
|
2019-10-29 01:21:31 +03:00
|
|
|
- template: "templates/BuildAndTest.prologue_stage_template.yaml"
|
2019-10-25 18:07:48 +03:00
|
|
|
parameters:
|
2019-10-29 01:21:31 +03:00
|
|
|
release_build: false
|
2019-10-25 18:07:48 +03:00
|
|
|
prerelease_build_name: ""
|
2019-10-29 01:21:31 +03:00
|
|
|
is_ci_build: false
|
2019-10-25 18:07:48 +03:00
|
|
|
|
2019-10-29 01:21:31 +03:00
|
|
|
- stage: BuildAndTest_Stage
|
|
|
|
displayName: "Build and Test:"
|
|
|
|
dependsOn: Prologue_Stage
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Official Builds
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-10-29 01:21:31 +03:00
|
|
|
configuration: x64
|
|
|
|
operating_system: Windows
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "Windows-x64-Clang 8"
|
2019-10-29 01:21:31 +03:00
|
|
|
tester_code_coverage: True
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-10-29 01:21:31 +03:00
|
|
|
configuration: x86
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "Windows-x86-Clang 8"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Windows
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
2019-12-04 04:25:47 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-10-29 01:21:31 +03:00
|
|
|
configuration: system_compiler
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "Ubuntu 16.04-x64-GCC"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Linux
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: macOS-10.14
|
|
|
|
configuration: system_compiler
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "MacOS 10.14-x64-Clang"
|
|
|
|
job_name_unique_id: "1014"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: MacOS
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Sanity Builds
|
|
|
|
|
|
|
|
# When code coverage is enabled, we only test debug builds. Execute release tests to ensure that everything is working.
|
2019-12-02 19:10:23 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
2019-10-29 01:21:31 +03:00
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-10-29 01:21:31 +03:00
|
|
|
configuration: x64
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "[Test Only] Windows-x64-Clang 8"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Windows
|
|
|
|
test_only: true
|
|
|
|
tester_release_only: true
|
|
|
|
|
2019-12-02 19:10:23 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
2019-10-29 01:21:31 +03:00
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-12-12 19:08:48 +03:00
|
|
|
configuration: x64_MSVC_2019
|
|
|
|
job_display_name: "Windows-x64-MSVC 2019"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Windows
|
|
|
|
|
2019-12-02 19:10:23 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
2019-10-29 01:21:31 +03:00
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-12-12 19:08:48 +03:00
|
|
|
configuration: x86_MSVC_2019
|
|
|
|
job_display_name: "Windows-x86-MSVC 2019"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Windows
|
|
|
|
|
2019-12-02 19:10:23 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
2019-10-29 01:21:31 +03:00
|
|
|
parameters:
|
2019-12-04 04:25:47 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-12-12 19:08:48 +03:00
|
|
|
configuration: x64_MSVC_2017
|
|
|
|
job_display_name: "Windows-x64-MSVC 2017"
|
|
|
|
operating_system: Windows
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
|
|
|
configuration: x86_MSVC_2017
|
|
|
|
job_display_name: "Windows-x86-MSVC 2017"
|
|
|
|
operating_system: Windows
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
|
|
|
configuration: x64_Clang_8
|
|
|
|
job_display_name: "Ubuntu 16.04-x64-Clang 8"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Linux
|
|
|
|
|
2019-12-12 19:08:48 +03:00
|
|
|
# TODO: Disabled for now - template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
# TODO: Disabled for now parameters:
|
|
|
|
# TODO: Disabled for now agent_pool: FeaturizersLibrary
|
|
|
|
# TODO: Disabled for now agent_pool_is_custom: true
|
|
|
|
# TODO: Disabled for now agent_pool_container: centos7
|
|
|
|
# TODO: Disabled for now configuration: system_compiler
|
|
|
|
# TODO: Disabled for now job_display_name: "CentOS 7-x64-GCC"
|
|
|
|
# TODO: Disabled for now operating_system: Linux
|
|
|
|
|
2019-12-02 19:10:23 +03:00
|
|
|
# Note that the universal_linux build is generating code that produces runtime errors. This build remains to ensure
|
|
|
|
# that the code compiles on older platforms.
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
2019-12-04 04:25:47 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-12-02 19:10:23 +03:00
|
|
|
agent_pool_container: universal_linux
|
|
|
|
configuration: universal_linux
|
|
|
|
operating_system: Linux
|
2019-12-12 19:08:48 +03:00
|
|
|
job_display_name: "[Build Only] Holy Build Box-x64-GCC"
|
2019-12-02 19:10:23 +03:00
|
|
|
tester_build_only: true
|
|
|
|
|
2019-12-12 19:08:48 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: macOS-10.13
|
|
|
|
configuration: system_compiler
|
|
|
|
job_display_name: "MacOS 10.13-x64-Clang"
|
|
|
|
job_name_unique_id: "1013"
|
|
|
|
operating_system: MacOS
|
|
|
|
|
2019-10-29 01:21:31 +03:00
|
|
|
- stage: PostBuild_Stage
|
|
|
|
displayName: "Post Build:"
|
|
|
|
dependsOn: BuildAndTest_Stage
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- template: "templates/_job_template.yaml"
|
|
|
|
parameters:
|
2019-12-02 23:29:31 +03:00
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2019-10-29 01:21:31 +03:00
|
|
|
job_name: Package_Job
|
|
|
|
job_display_name: "Package"
|
2019-12-02 23:29:31 +03:00
|
|
|
operating_system: Windows
|
2019-10-29 01:21:31 +03:00
|
|
|
steps:
|
|
|
|
- template: "BuildAndTest.package_steps_template.yaml"
|
|
|
|
parameters:
|
|
|
|
configuration: system_compiler
|
|
|
|
operating_system: Windows
|