forked from dotnet/winforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
38 lines (32 loc) · 1.14 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This is a simple wrapper for eng/ci.yml to get around the limitation of
# user-defined variables not being available in yaml template expressions.
# Parameters ARE available in template expressions, and parameters can have default values,
# so they can be used to control yaml flow.
variables:
# clean the local repo on the build agents
- name: Build.Repository.Clean
value: true
- name: PostBuildSign
value: true
# used for post-build phases, internal builds only
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- group: DotNet-Winforms-SDLValidation-Params
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- group: DotNet-MSRC-Storage
- group: AzureDevOps-Artifact-Feeds-Pats
# trigger ci builds for completed checkins into main and any release branches
trigger:
- master
- main
- release/*
- internal/release/*
# trigger ci builds on pull requests into main and any release branches
pr:
- master
- main
- release/*
- internal/release/*
- internal/experimental/*
# Call the ci.yml template, which does the real work
stages:
- template: /eng/ci.yml