pywwt/ci/azure-pipelines.yml

26 строки
564 B
YAML

# Copyright 2020 the .NET Foundation
# Licensed under the MIT License
trigger:
branches:
include:
- master
- rc
stages:
- stage: SourceDist
jobs:
- template: azure-sdist.yml
- stage: MainBuild
jobs:
- template: azure-build-and-test.yml
- stage: Deploy
condition: and(succeeded('MainBuild'), ne(variables['build.reason'], 'PullRequest'))
jobs:
- template: azure-deployment.yml
parameters:
isMainDev: ${{ ne(variables['Build.SourceBranchName'], 'rc') }}
isRelease: ${{ eq(variables['Build.SourceBranchName'], 'rc') }}