57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
#
|
|
# Obsolete! New projects should use .azure/templates/project-ci.yml instead
|
|
#
|
|
# TODO: remove this once templated projects have referenced the new location.
|
|
#
|
|
#
|
|
# Description: Runs build.cmd/sh on macOS, Linux, and Windows
|
|
# Parameters:
|
|
# buildArgs: string
|
|
# Additional arguments to pass to the build.sh/cmd script.
|
|
# Note: -ci is always passed
|
|
# beforeBuild: [steps]
|
|
# Additional steps to run before build.sh/cmd
|
|
# afterBuild: [steps]
|
|
# Additional steps to run after build.sh/cmd
|
|
# variables: {}
|
|
# VSTS build and environment variables
|
|
# matrix: {}
|
|
# The matrix of configurations to run. By default, it runs a Debug and Release build on all platforms
|
|
|
|
parameters:
|
|
buildArgs: ''
|
|
beforeBuild: []
|
|
afterBuild: []
|
|
variables: {}
|
|
matrix:
|
|
Release:
|
|
BuildConfiguration: Release
|
|
Debug:
|
|
BuildConfiguration: Debug
|
|
|
|
phases:
|
|
- template: phases/default-build.yml
|
|
parameters:
|
|
agentOs: Windows
|
|
matrix: ${{ parameters.matrix }}
|
|
buildArgs: ${{ parameters.buildArgs }}
|
|
beforeBuild: ${{ parameters.beforeBuild }}
|
|
afterBuild: ${{ parameters.afterBuild }}
|
|
variables: ${{ parameters.variables }}
|
|
- template: phases/default-build.yml
|
|
parameters:
|
|
agentOs: macOS
|
|
matrix: ${{ parameters.matrix }}
|
|
buildArgs: ${{ parameters.buildArgs }}
|
|
beforeBuild: ${{ parameters.beforeBuild }}
|
|
afterBuild: ${{ parameters.afterBuild }}
|
|
variables: ${{ parameters.variables }}
|
|
- template: phases/default-build.yml
|
|
parameters:
|
|
agentOs: Linux
|
|
matrix: ${{ parameters.matrix }}
|
|
buildArgs: ${{ parameters.buildArgs }}
|
|
beforeBuild: ${{ parameters.beforeBuild }}
|
|
afterBuild: ${{ parameters.afterBuild }}
|
|
variables: ${{ parameters.variables }}
|