-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.vsts-ci.yml
59 lines (50 loc) · 1.29 KB
/
.vsts-ci.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
pool:
vmImage: 'windows-2022'
trigger:
branches:
include:
- master
- beta
- release/beta/*
- stable
- release/stable/*
pr:
branches:
include:
- master
- beta
- release/beta/*
- stable
- release/stable/*
steps:
- checkout: self
clean: 'true'
- task: gitversion/setup@0
inputs:
versionSpec: '5.6.8'
- task: gitversion/execute@0
inputs:
useConfigFile: true
configFilePath: gitversion.yml
displayName: Use GitVersion
- task: MSBuild@1
inputs:
solution: src/Uno.CodeGen.sln
msbuildArchitecture: x86
msbuildArguments: /r /p:Configuration=Release "/p:PackageOutputPath=$(build.artifactstagingdirectory)\vslatest" "/p:PackageVersion=%GITVERSION_FullSemVer%" "/p:InformationalVersion=%GITVERSION_InformationalVersion%" /detailedsummary
clean: false
maximumCpuCount: true
restoreNugetPackages: false
logProjectEvents: false
createLogFile: false
- task: VisualStudioTestPlatformInstaller@1
- task: VSTest@2
inputs:
testAssemblyVer2: |
**\*test*.dll
!**\obj\**
vsTestVersion: toolsInstaller
testSelector: testAssemblies
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: $(Build.DefinitionName)