2021-02-25 23:27:06 +03:00
|
|
|
#
|
2023-01-24 05:07:15 +03:00
|
|
|
# See https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for details on this file.
|
2021-02-25 23:27:06 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# Configure which branches trigger builds
|
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
2021-04-30 01:37:50 +03:00
|
|
|
- main
|
2021-02-25 23:27:06 +03:00
|
|
|
- release/*
|
2022-03-19 05:07:04 +03:00
|
|
|
|
|
|
|
# Do not run this pipeline for PR validation.
|
|
|
|
pr: none
|
2021-02-25 23:27:06 +03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
- name: _BuildArgs
|
|
|
|
value: '/p:SkipTestBuild=true'
|
2022-03-19 05:07:04 +03:00
|
|
|
- name: WindowsNonX64LogArgs
|
2021-02-25 23:27:06 +03:00
|
|
|
value: -ExcludeCIBinaryLog
|
2023-02-09 05:49:01 +03:00
|
|
|
- template: /eng/common/templates/variables/pool-providers.yml
|
2021-02-25 23:27:06 +03:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- stage: build
|
|
|
|
displayName: Build
|
|
|
|
jobs:
|
2022-03-19 05:07:04 +03:00
|
|
|
# Build Windows (x64/x86/arm64)
|
2021-02-25 23:27:06 +03:00
|
|
|
- template: jobs/default-build.yml
|
|
|
|
parameters:
|
|
|
|
jobName: Windows_build
|
2022-03-19 05:07:04 +03:00
|
|
|
jobDisplayName: "Build: Windows x64/x86/arm64"
|
2021-02-25 23:27:06 +03:00
|
|
|
enableRichCodeNavigation: true
|
|
|
|
agentOs: Windows
|
|
|
|
steps:
|
2022-03-19 05:07:04 +03:00
|
|
|
- script: ./eng/build.cmd
|
2021-02-25 23:27:06 +03:00
|
|
|
-ci
|
|
|
|
-arch x64
|
2022-03-19 05:07:04 +03:00
|
|
|
-buildNative
|
|
|
|
/p:EnableRichCodeNavigation=false
|
|
|
|
$(_BuildArgs)
|
|
|
|
displayName: Build x64 native assets
|
|
|
|
|
|
|
|
- script: ./eng/build.cmd
|
|
|
|
-ci
|
|
|
|
-arch x64
|
|
|
|
-all
|
|
|
|
-noBuildNative
|
|
|
|
-noBuildRepoTasks
|
2021-02-25 23:27:06 +03:00
|
|
|
$(_BuildArgs)
|
|
|
|
displayName: Build x64
|
|
|
|
|
|
|
|
# Build the x86 shared framework
|
|
|
|
# This is going to actually build x86 native assets.
|
2022-03-19 05:07:04 +03:00
|
|
|
- script: ./eng/build.cmd
|
2021-02-25 23:27:06 +03:00
|
|
|
-ci
|
|
|
|
-arch x86
|
|
|
|
-all
|
|
|
|
-noBuildJava
|
|
|
|
-noBuildNative
|
2022-03-19 05:07:04 +03:00
|
|
|
-noBuildRepoTasks
|
2021-02-25 23:27:06 +03:00
|
|
|
$(_BuildArgs)
|
2022-03-19 05:07:04 +03:00
|
|
|
$(WindowsNonX64LogArgs)
|
2021-02-25 23:27:06 +03:00
|
|
|
displayName: Build x86
|
|
|
|
|
2022-03-19 05:07:04 +03:00
|
|
|
# Build the arm64 shared framework
|
|
|
|
- script: ./eng/build.cmd
|
2021-02-25 23:27:06 +03:00
|
|
|
-ci
|
2022-03-19 05:07:04 +03:00
|
|
|
-arch arm64
|
|
|
|
-noBuildJava
|
2021-02-25 23:27:06 +03:00
|
|
|
-noBuildNative
|
2022-03-19 05:07:04 +03:00
|
|
|
-noBuildRepoTasks
|
2021-02-25 23:27:06 +03:00
|
|
|
$(_BuildArgs)
|
2022-03-19 05:07:04 +03:00
|
|
|
$(WindowsNonX64LogArgs)
|
|
|
|
displayName: Build ARM64
|
|
|
|
|