-
Notifications
You must be signed in to change notification settings - Fork 3
/
azure-pipelines.yml
45 lines (41 loc) · 1.22 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
39
40
41
42
43
44
45
# Azure Pipelines for GitHub :)
# More info: https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=vsts
trigger:
branches:
include:
- master
- dev
- CognitivePipeline
paths:
include:
- 'Src/CognitivePipeline'
- 'Src/ClientSDK'
- 'azure-pipelines.yml'
- 'azure-pipelines-webapp.yml'
- 'azure-pipelines-tests.yml'
variables:
buildConfiguration: 'Release'
jobs:
- template: azure-pipelines-webapp.yml
parameters:
Name: 'CognitivePipelineFunctions'
RestoreBuildProjects: '**/*.Functions.csproj'
BuildConfiguration: 'Release'
WorkingDirectory: 'src/CognitivePipeline'
ArtifactName: 'CognitivePipelineFunctions'
PublishWebApp: False
ZipAfterPublish: False
- template: azure-pipelines-webapp.yml
parameters:
Name: 'CognitivePipelineRTC'
RestoreBuildProjects: '**/*.RTC.csproj'
BuildConfiguration: 'Release'
WorkingDirectory: 'src/CognitivePipeline'
ArtifactName: 'CognitivePipelineRTC'
PublishWebApp: False
ZipAfterPublish: False
- template: azure-pipelines-tests.yml
parameters:
Name: 'UnitTests'
WorkingDirectory: 'src/CognitivePipeline/CognitivePipeline.Functions.UnitTests'
ArtifactName: 'Unit-Tests'