-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
46 lines (41 loc) · 1009 Bytes
/
azure-pipelines.yml
File metadata and controls
46 lines (41 loc) · 1009 Bytes
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
46
# https://aka.ms/yaml
name: $(GitVersion_InformationalVersion)
variables:
ArtifactName: Modules
resources:
repositories:
- repository: templates
endpoint: PoshCode
type: github
name: PoshCode/Azure-Pipelines
ref: refs/tags/4
stages:
- stage: Build
jobs:
- template: GitVersion-job.yml@templates
- template: Build-Module-job.yml@templates
parameters:
dependsOn: ['Build']
artifactName: $(ArtifactName)
- stage: Test
dependsOn: Build
jobs:
- template: ScriptAnalyzer-job.yml@templates
parameters:
dependsOn: []
artifactName: $(ArtifactName)
- template: Pester-job.yml@templates
parameters:
dependsOn: []
artifactName: $(ArtifactName)
TestsDirectory: '$(Build.SourcesDirectory)/Tests'
strategy:
matrix:
Linux:
vmImage: 'ubuntu-16.04'
MacOS:
vmImage: 'macOS-10.14'
Windows:
vmImage: 'windows-2019'
pool:
vmImage: $(vmImage)