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
|
2019-12-13 04:39:28 +03:00
|
|
|
endpoint: featurizerslibrarybuild
|
2019-10-08 21:24:48 +03:00
|
|
|
|
2019-12-12 19:08:48 +03:00
|
|
|
- container: centos7
|
|
|
|
image: centos7
|
2019-12-13 04:39:28 +03:00
|
|
|
endpoint: featurizerslibrarybuild
|
2019-12-12 19:08:48 +03:00
|
|
|
|
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
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x64-Clang 8.0.0"
|
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
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x86-Clang 8.0.0"
|
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
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Ubuntu 16.04-x64-GCC 5.4.0"
|
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
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "MacOS 10.14-x64-Clang Apple 11.0.0"
|
2019-12-12 19:08:48 +03:00
|
|
|
job_name_unique_id: "1014"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: MacOS
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Sanity Builds
|
2020-01-28 20:46:46 +03:00
|
|
|
#
|
|
|
|
# These builds are ordered from those that traditionally take the longest
|
|
|
|
# time to complete to those that take the least amount of time to complete
|
|
|
|
# to maximize overall throughput. Note that we aren't ordering the official
|
|
|
|
# builds, as we always want to see the results of those builds before these
|
|
|
|
# builds.
|
2019-10-29 01:21:31 +03:00
|
|
|
|
2020-01-28 20:46:46 +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.
|
2020-02-14 20:23:10 +03:00
|
|
|
|
|
|
|
# This build is not currently working, as it runs into linker errors associated with older compilers. We are disabing
|
|
|
|
# this functionality for now.
|
|
|
|
#
|
|
|
|
# - template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
# parameters:
|
|
|
|
# agent_pool: FeaturizersLibrary
|
|
|
|
# agent_pool_is_custom: true
|
|
|
|
# agent_pool_container: universal_linux
|
|
|
|
# configuration: universal_linux
|
|
|
|
# operating_system: Linux
|
|
|
|
# job_display_name: "[Build Only] Holy Build Box-x64-GCC 4.4.7 20120313 (updated stdlib)"
|
|
|
|
# tester_build_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
|
2020-02-14 20:23:10 +03:00
|
|
|
agent_pool_container: centos7
|
|
|
|
configuration: system_compiler
|
|
|
|
job_display_name: "CentOS 7-x64-GCC 4.8.5"
|
2020-01-28 20:46:46 +03:00
|
|
|
operating_system: Linux
|
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
|
|
|
configuration: x86_MSVC_2017
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x86-MSVC 2017 (19.16.27027.1)"
|
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
|
2020-01-28 20:46:46 +03:00
|
|
|
configuration: x64_MSVC_2017
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x64-MSVC 2017 (19.16.27027.1)"
|
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
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x86-MSVC 2019 (19.20.27508.1)"
|
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
|
2020-01-28 20:46:46 +03:00
|
|
|
configuration: x64_MSVC_2019
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Windows-x64-MSVC 2019 (19.20.27508.1)"
|
2019-12-12 19:08:48 +03:00
|
|
|
operating_system: Windows
|
|
|
|
|
2020-01-28 20:46:46 +03:00
|
|
|
# When code coverage is enabled, we only test debug builds. Execute release tests to ensure that everything is working.
|
2019-12-12 19:08:48 +03:00
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
2020-01-28 20:46:46 +03:00
|
|
|
configuration: x64
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "[Test Only] Windows-x64-Clang 8.0.0"
|
2019-12-12 19:08:48 +03:00
|
|
|
operating_system: Windows
|
2020-01-28 20:46:46 +03:00
|
|
|
test_only: true
|
|
|
|
tester_release_only: true
|
2019-12-12 19:08:48 +03:00
|
|
|
|
|
|
|
- template: "templates/BuildAndTest.job_template.yaml"
|
|
|
|
parameters:
|
|
|
|
agent_pool: FeaturizersLibrary
|
|
|
|
agent_pool_is_custom: true
|
|
|
|
configuration: x64_Clang_8
|
2020-02-14 20:23:10 +03:00
|
|
|
job_display_name: "Ubuntu 16.04-x64-Clang 8.0.0"
|
2019-10-29 01:21:31 +03:00
|
|
|
operating_system: Linux
|
|
|
|
|
|
|
|
- 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
|